Skip to content

Commit

Permalink
merge in upstream commit magento/magento2@631bd09 - add client side c…
Browse files Browse the repository at this point in the history
…aching to translation files (add json to static files mime type)
  • Loading branch information
aj-adl committed Oct 31, 2018
1 parent 2e19bbd commit c2aa615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serve-magento.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ location /static/ {
rewrite ^/static/(version[^/]+/)?(.*)$ /static/\$2 last;
}
location ~* \.(ico|jpg|jpeg|png|gif|svg|js|css|swf|eot|ttf|otf|woff|woff2)$ {
location ~* \.(ico|jpg|jpeg|png|gif|svg|js|css|swf|eot|ttf|otf|woff|woff2|json)$ {
add_header Cache-Control 'public';
add_header X-Frame-Options 'SAMEORIGIN';
expires +1y;
Expand Down

0 comments on commit c2aa615

Please sign in to comment.