browser caching for media
-
Hello,
I have add the following lines into nginx.conf:
## # Follow the steps below to add browser caching to your NGINX server. # Copy the generated code into your nginx.conf usually located at /etc/nginx/nginx.conf or /usr/local/nginx/conf/nginx.conf # Add the code above to the http or inside server section in the file. # Restart NGINX. # Re-check expiry status. ## # location ~* \.(txt|xml|js)$ { # expires 8d; # } # location ~* \.(css)$ { # expires 8d; # } # location ~* \.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac|eot|ttf|otf|woff|svg)$ { # expires 8d; # } # # location ~* \.(jpg|jpeg|png|gif|swf|webp)$ { # expires 8d; # }But, it still show “1 of your cache types don’t meet the recommended expiry period of 8+ days. Configure browser caching here”
please check the screenshot:http://prntscr.com/magq6i
Also, the Current expiry: 10 years
We are using Easyengine(https://easyengine.io), Redis cache and Nginx on server, is there any mis configuration please?
Thanks and have a nice day.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘browser caching for media’ is closed to new replies.