Hi,
On Plesk 12.0 I used the following rules under additional nginx directives to enable browser caching for static resources:
location ~* \.(js|css|png|jpg|jpeg|gif|ico|woff|svg)$ {
expires 30d;
add_header Pragma public;
add_header Cache-Control “public”;
try_files $uri @fallback;
}
but since upgrading to Plesk 12.5 it is no longer working. No matter what I've tried so far has worked to get browser caching for static resources working again.
Does anyone have any ideas?
On Plesk 12.0 I used the following rules under additional nginx directives to enable browser caching for static resources:
location ~* \.(js|css|png|jpg|jpeg|gif|ico|woff|svg)$ {
expires 30d;
add_header Pragma public;
add_header Cache-Control “public”;
try_files $uri @fallback;
}
but since upgrading to Plesk 12.5 it is no longer working. No matter what I've tried so far has worked to get browser caching for static resources working again.
Does anyone have any ideas?