We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28daee5 commit dcb3c67Copy full SHA for dcb3c67
app/code/Magento/PageCache/etc/varnish.vcl
@@ -54,7 +54,7 @@ sub vcl_recv {
54
std.collect(req.http.Cookie);
55
56
# static files are always cacheable. remove SSL flag and cookie
57
- if (req.url ~ "^/pub/.*\.(png|jpg|jpeg|gif|css|js|swf|ico)$") {
+ if (req.url ~ "^/(pub/)?(media|static)/.*\.(png|jpg|jpeg|gif|css|js|swf|ico|woff|svg)$") {
58
unset req.http.Https;
59
unset req.http.Cookie;
60
}
0 commit comments