Mark Bergsma has uploaded a new change for review.
https://gerrit.wikimedia.org/r/74590
Change subject: Don't run the default vcl_fetch function on mobile caches
......................................................................
Don't run the default vcl_fetch function on mobile caches
Change-Id: I6f633b971ae670dd29079feff092f2994069c1ea
---
M templates/varnish/mobile-backend.inc.vcl.erb
M templates/varnish/mobile-frontend.inc.vcl.erb
2 files changed, 4 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/90/74590/1
diff --git a/templates/varnish/mobile-backend.inc.vcl.erb
b/templates/varnish/mobile-backend.inc.vcl.erb
index 8246188..0758db1 100644
--- a/templates/varnish/mobile-backend.inc.vcl.erb
+++ b/templates/varnish/mobile-backend.inc.vcl.erb
@@ -23,6 +23,8 @@
if (req.url ~ "mobileaction=" || req.url ~ "useformat=") {
set beresp.ttl = 60 s;
}
+
+ return (deliver);
}
sub vcl_error {
diff --git a/templates/varnish/mobile-frontend.inc.vcl.erb
b/templates/varnish/mobile-frontend.inc.vcl.erb
index 837b552..8c60152 100644
--- a/templates/varnish/mobile-frontend.inc.vcl.erb
+++ b/templates/varnish/mobile-frontend.inc.vcl.erb
@@ -97,6 +97,8 @@
if (req.url ~ "mobileaction=" || req.url ~ "useformat=") {
set beresp.ttl = 60 s;
}
+
+ return (deliver);
}
sub vcl_error {
--
To view, visit https://gerrit.wikimedia.org/r/74590
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6f633b971ae670dd29079feff092f2994069c1ea
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Mark Bergsma <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits