BBlack has submitted this change and it was merged.

Change subject: Start to ramp up cache TTL for purged RESTBase end points
......................................................................


Start to ramp up cache TTL for purged RESTBase end points

With path normalization now applied to both GETs and PURGEs, we should have
working purging for titles with special characters. This means that we can
start to ramp up TTLs again.

This patch is only bumping the TTL to one hour for now. Once we are sure that
purging is working as expected, we can follow up with further TTL increases,
eventually matching the number of weeks generally used for purged content.

Bug: T127387

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

Approvals:
  Ppchelko: Looks good to me, but someone else must approve
  BBlack: Verified; Looks good to me, approved



diff --git a/modules/restbase/templates/config.yaml.erb 
b/modules/restbase/templates/config.yaml.erb
index 719fad6..09558a9 100644
--- a/modules/restbase/templates/config.yaml.erb
+++ b/modules/restbase/templates/config.yaml.erb
@@ -59,7 +59,7 @@
             host: <%= @purge_host %>
             port: <%= @purge_port %>
         # Cache headers for purged end points.
-        purged_cache_control: s-maxage=1, max-age=1
+        purged_cache_control: s-maxage=3600, max-age=3600
 
 # A different project template, sharing configuration options.
 wikimedia.org: &wikimedia.org

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia6dbf94fb5b0e3bdb1cc1735fedeca65eff21a50
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: GWicke <[email protected]>
Gerrit-Reviewer: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: BBlack <[email protected]>
Gerrit-Reviewer: Eevans <[email protected]>
Gerrit-Reviewer: Filippo Giunchedi <[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