Ema has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/359417 )

Change subject: VCL: remove disableImages handling
......................................................................

VCL: remove disableImages handling

Bug: T168013
Bug: T109870
Change-Id: I4017ff4395f6457e8e418454d0402e6fc80867ba
---
M modules/varnish/templates/text-common.inc.vcl.erb
1 file changed, 0 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/17/359417/1

diff --git a/modules/varnish/templates/text-common.inc.vcl.erb 
b/modules/varnish/templates/text-common.inc.vcl.erb
index 885535c..44ada58 100644
--- a/modules/varnish/templates/text-common.inc.vcl.erb
+++ b/modules/varnish/templates/text-common.inc.vcl.erb
@@ -95,11 +95,6 @@
 sub text_common_hash {
        // The cookies below represent mobile preferences that can be set for 
anonymous users.
        if (req.http.X-Subdomain) {
-               // Split the cache for the images-disabled variant of the 
mobile site.
-               if (req.http.X-Orig-Cookie ~ "(^|;\s*)disableImages=1" || 
req.http.Cookie ~ "(^|;\s*)disableImages=1") {
-                       hash_data("disableImages=1");
-               }
-
                // Split the cache for the beta variant of the mobile site.
                if (req.http.X-Orig-Cookie ~ "(^|;\s*)optin=beta" || 
req.http.Cookie ~ "(^|;\s*)optin=beta") {
                        hash_data("optin=beta");

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4017ff4395f6457e8e418454d0402e6fc80867ba
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ema <e...@wikimedia.org>

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

Reply via email to