Mark Bergsma has uploaded a new change for review.

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


Change subject: Allow apple-touch icons to be cached by clients
......................................................................

Allow apple-touch icons to be cached by clients

Change-Id: Ib2e7a3e9a07b37f4778a00b15f0b012732e76900
---
M templates/varnish/mobile-frontend.inc.vcl.erb
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/77/55577/1

diff --git a/templates/varnish/mobile-frontend.inc.vcl.erb 
b/templates/varnish/mobile-frontend.inc.vcl.erb
index 208a37b..329c1e6 100644
--- a/templates/varnish/mobile-frontend.inc.vcl.erb
+++ b/templates/varnish/mobile-frontend.inc.vcl.erb
@@ -647,7 +647,7 @@
        }
 
        /* Temp test */
-       if (req.url == "/favicon.ico" || req.url ~ 
"^/w/index\.php\?title=.*:Gadget-.*&[0-9]+$") {
+       if (req.url == "/favicon.ico" || req.url ~ 
"^/apple-touch-icon(-precomposed)?\.png$" || req.url ~ 
"^/w/index\.php\?title=.*:Gadget-.*&[0-9]+$") {
                set resp.http.Cache-Control = "s-maxage=3600, max-age=3600";
        }
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib2e7a3e9a07b37f4778a00b15f0b012732e76900
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Mark Bergsma <m...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to