File tree Expand file tree Collapse file tree 2 files changed +0
-14
lines changed
app/code/Magento/PageCache/etc Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -96,13 +96,6 @@ sub vcl_recv {
96
96
set req.url = regsuball (req.url ," \?gclid=[^&]+&" ," ?" ); # strips when QS = "?gclid=AAA&foo=bar"
97
97
set req.url = regsuball (req.url ," &gclid=[^&]+" ," " ); # strips when QS = "?foo=bar&gclid=AAA" or QS = "?foo=bar&gclid=AAA&bar=baz"
98
98
99
- # static files are always cacheable. remove SSL flag and cookie
100
- if (req.url ~ " ^/(pub/)?(media|static)/.*\.(ico|html|css|js|jpg|jpeg|png|gif|tiff|bmp|mp3|ogg|svg|swf|woff|woff2|eot|ttf|otf)$" ) {
101
- unset req.http.Https ;
102
- unset req.http. /* {{ ssl_offloaded_header }} */ ;
103
- unset req.http.Cookie ;
104
- }
105
-
106
99
return (hash );
107
100
}
108
101
Original file line number Diff line number Diff line change @@ -97,13 +97,6 @@ sub vcl_recv {
97
97
set req.url = regsuball (req.url ," \?gclid=[^&]+&" ," ?" ); # strips when QS = "?gclid=AAA&foo=bar"
98
98
set req.url = regsuball (req.url ," &gclid=[^&]+" ," " ); # strips when QS = "?foo=bar&gclid=AAA" or QS = "?foo=bar&gclid=AAA&bar=baz"
99
99
100
- # static files are always cacheable. remove SSL flag and cookie
101
- if (req.url ~ " ^/(pub/)?(media|static)/.*\.(ico|html|css|js|jpg|jpeg|png|gif|tiff|bmp|mp3|ogg|svg|swf|woff|woff2|eot|ttf|otf)$" ) {
102
- unset req.http.Https ;
103
- unset req.http. /* {{ ssl_offloaded_header }} */ ;
104
- unset req.http.Cookie ;
105
- }
106
-
107
100
return (hash );
108
101
}
109
102
You can’t perform that action at this time.
0 commit comments