Stop nginx from caching asset

merlin corey merlincorey at
Thu Jun 11 03:33:27 MSD 2009

Replace CTRL with APPLE on Macsen, and there are ways with various
browsers to turn off caching (web developer toolbar in firefox).
Another technique is to simply symlink file.js to versioned files like
file.js.123456789 this way if you need to ensure you get the latest
copy, you just point to it directly (rather than with the symlink).

-- Merlin

On Wed, Jun 10, 2009 at 10:29 AM, Kevin
Worthington<kworthington at> wrote:
> To force your browser to not load from its cache, use either Shift +
> click the refresh button (or F5) -OR- Ctrl + click the refresh button
> (or F5)
> --
> Kevin Worthington
> On Wed, Jun 10, 2009 at 7:09 AM, Fernando Perez<lists at> wrote:
>> Hi,
>> This is driving me nuts. I am updating some js and css files and in my
>> browser I am still seeing the old files, how can I force my browser or
>> Nginx to send the new ones?
>> Thanks.
>> --
>> Posted via

More information about the nginx mailing list