GWicke has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/274769

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.

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


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/69/274769/1

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: newchange
Gerrit-Change-Id: Ia6dbf94fb5b0e3bdb1cc1735fedeca65eff21a50
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: GWicke <[email protected]>

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

Reply via email to