Gehel has submitted this change and it was merged.

Change subject: Increase purged entry point s-maxage from 12 to 48 hours
......................................................................


Increase purged entry point s-maxage from 12 to 48 hours

We have not encountered any issues with a TTL of 12 hours, and have deployed
code which disables caching for all requests with non-canonical titles.

It should thus be safe to take the next step towards longer TTLs. 48 hours
represents a conservative increment on the way to 1-2 weeks.

Change-Id: Ifca932d1efe8ea829a84dc5e9039c89ee69f74d3
---
M modules/restbase/templates/config.yaml.erb
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Gehel: Looks good to me, approved
  Eevans: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/modules/restbase/templates/config.yaml.erb 
b/modules/restbase/templates/config.yaml.erb
index 56e018e..2f9ce83 100644
--- a/modules/restbase/templates/config.yaml.erb
+++ b/modules/restbase/templates/config.yaml.erb
@@ -61,7 +61,7 @@
         related:
           cache_control: s-maxage=86400, max-age=3600
         # Cache headers for purged end points.
-        purged_cache_control: s-maxage=43200, max-age=0, must-revalidate
+        purged_cache_control: s-maxage=172800, max-age=0, must-revalidate
 
 # A different project template, sharing configuration options.
 wikimedia.org: &wikimedia.org

-- 
To view, visit https://gerrit.wikimedia.org/r/277112
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ifca932d1efe8ea829a84dc5e9039c89ee69f74d3
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: GWicke <[email protected]>
Gerrit-Reviewer: BBlack <[email protected]>
Gerrit-Reviewer: Eevans <[email protected]>
Gerrit-Reviewer: Filippo Giunchedi <[email protected]>
Gerrit-Reviewer: Gehel <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: Mobrovac <[email protected]>
Gerrit-Reviewer: Ppchelko <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to