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 6132d84 commit 07e6eafCopy full SHA for 07e6eaf
nginx.conf.sample
@@ -83,6 +83,12 @@ location /static/ {
83
if ($MAGE_MODE = "production") {
84
expires max;
85
}
86
+
87
+ # Remove signature of the static files that is used to overcome the browser cache
88
+ location ~ ^/static/version {
89
+ rewrite ^/static/(version\d*/)?(.*)$ /static/$2 last;
90
+ }
91
92
location ~* \.(ico|jpg|jpeg|png|gif|svg|js|css|swf|eot|ttf|otf|woff|woff2)$ {
93
add_header Cache-Control "public";
94
add_header X-Frame-Options "SAMEORIGIN";
0 commit comments