Asher has submitted this change and it was merged. Change subject: Disable caching in Parsoid front-ends ......................................................................
Disable caching in Parsoid front-ends To avoid missing request coalescing in the backends when forcing misses with req.hash_always_miss = true, we now plan to send updates only to one of the front-end caches (via the load balancer). For this to work the front-ends should not cache themselves. At the low request rates (< 100 req/s, ~0.5% CPU..) we don't need those caches anyway. Tested in the labs install. Change-Id: I662070da66d091586700bb0b0a0f89354f0926cc --- M templates/varnish/parsoid-frontend.inc.vcl.erb 1 file changed, 4 insertions(+), 0 deletions(-) Approvals: Asher: Verified; Looks good to me, approved jenkins-bot: Verified diff --git a/templates/varnish/parsoid-frontend.inc.vcl.erb b/templates/varnish/parsoid-frontend.inc.vcl.erb index b14f0c7..f4812ae 100644 --- a/templates/varnish/parsoid-frontend.inc.vcl.erb +++ b/templates/varnish/parsoid-frontend.inc.vcl.erb @@ -10,3 +10,7 @@ set bereq.http.Cache-Control = req.http.Cache-Control; } } + +sub vcl_fetch { + set beresp.ttl = 0s; +} -- To view, visit https://gerrit.wikimedia.org/r/67929 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I662070da66d091586700bb0b0a0f89354f0926cc Gerrit-PatchSet: 2 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: GWicke <gwi...@wikimedia.org> Gerrit-Reviewer: Asher <afeld...@wikimedia.org> Gerrit-Reviewer: Catrope <roan.katt...@gmail.com> Gerrit-Reviewer: GWicke <gwi...@wikimedia.org> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits