From d583dfa953ff0ae80932e40ca193b757e55b8728 Mon Sep 17 00:00:00 2001 From: Florian ALEXANDRE Date: Mon, 21 Oct 2024 09:47:35 +0200 Subject: [PATCH] feat: add HTTP cache support to RSS feeds --- .../src/bundle/Resources/config/default_settings.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/RssFeedBundle/src/bundle/Resources/config/default_settings.yaml b/components/RssFeedBundle/src/bundle/Resources/config/default_settings.yaml index dd50cfafb..6308b8e88 100644 --- a/components/RssFeedBundle/src/bundle/Resources/config/default_settings.yaml +++ b/components/RssFeedBundle/src/bundle/Resources/config/default_settings.yaml @@ -1,5 +1,7 @@ parameters: - # if null, will expire every day at 0h00 - env(NOVAEZRSSFEED_CACHE_TTL): ~ + # "null" => public + expire at 0h00 + # "0" => private + # "" => public + s-maxage of `` + env(NOVAEZRSSFEED_CACHE_TTL): 3600 novaezrssfeed.cache.ttl: '%env(NOVAEZRSSFEED_CACHE_TTL)%'