Nginx If-Modified-Since sometimes is ignored

Css files are picked from the cache, so i have to manually edit file version style.css?v=2 for example, to force cache reset.

On my PC everything is ok, but many people telling, that they have old logo or old design stuff from the last version of css file. Meaning they are taken from the cache.

How to fix this via nginx?

I'm already thinking about solution to dynamically append modify time to all css files like this style.css?v=%last file modify time%

The only caching thing inside my nginx conf is this line:

expires 1y;


When modified is omitted expires will allow the browser to cache a file based on the request time. Read the mod_header documentation for all the details.

Need Your Help

How do I make an ASP.NET 2.0 Web App compile like a 1.1 App? iis deployment

When compiling an ASP.NET 2.0 App names MySite for deployment I get a series of assemblies that resemble something like "bin/APP_xyz123.dll", "bin/APP_xyz456.dll" and so on.

pagination and php session vars

php session pagination

I just have one simple question here is the desc:

Create an image thumbnail in Android


Given a path to an image file, what's the best way (on the fly) to create a thumbnail for that image?