Welcome! Log In Create A New Profile

Advanced

Best way to burst static file cache

September 26, 2011 06:11AM
Hi

Loving nginx, thanks Igor!


I'm caching static files in a very traditional way, I hope:
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
#expires max;
expires 30m;
access_log off;
log_not_found on;
}

I would like to have longer caching. Sometimes there is a fast turn around on live sites and clients have an issue bursting the cache. These tend to be Windows based clients. No matter what they or I do, they continue to retrieve cached versions of css and pngs.

Is there a better configuration, or anything that I am not doing at my end to ensure they get served the fresh files?
Subject Author Posted

Best way to burst static file cache

tcbarrett September 26, 2011 06:11AM

Re: Best way to burst static file cache

tcbarrett September 29, 2011 11:06AM

Re: Best way to burst static file cache

kaspars September 29, 2011 07:09PM

Re: Best way to burst static file cache

tcbarrett October 02, 2011 08:34AM

Re: Best way to burst static file cache

Ed W October 02, 2011 09:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 294
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready