File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/code/Magento/PageCache/etc Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ sub vcl_recv {
62
62
std.collect (req.http.Cookie );
63
63
64
64
# static files are always cacheable. remove SSL flag and cookie
65
- if (req.url ~ " ^/(pub/)?(media|static)/.*\.(ico|css|js|jpg|jpeg|png|gif|tiff|bmp|gz|tgz|bz2|tbz|mp3|ogg|svg|swf|woff|woff2|eot|ttf|otf)$" ) {
65
+ if (req.url ~ " ^/(pub/)?(media|static)/.*\.(ico|html| css|js|jpg|jpeg|png|gif|tiff|bmp|gz|tgz|bz2|tbz|mp3|ogg|svg|swf|woff|woff2|eot|ttf|otf)$" ) {
66
66
unset req.http.Https ;
67
67
unset req.http. /* {{ ssl_offloaded_header }} */ ;
68
68
unset req.http.Cookie ;
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ sub vcl_recv {
74
74
set req.url = regsuball (req.url ," &gclid=[^&]+" ," " ); # strips when QS = "?foo=bar&gclid=AAA" or QS = "?foo=bar&gclid=AAA&bar=baz"
75
75
76
76
# static files are always cacheable. remove SSL flag and cookie
77
- if (req.url ~ " ^/(pub/)?(media|static)/.*\.(ico|css|js|jpg|jpeg|png|gif|tiff|bmp|mp3|ogg|svg|swf|woff|woff2|eot|ttf|otf)$" ) {
77
+ 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)$" ) {
78
78
unset req.http.Https ;
79
79
unset req.http. /* {{ ssl_offloaded_header }} */ ;
80
80
unset req.http.Cookie ;
You can’t perform that action at this time.
0 commit comments