nginx_cache entry evicted ~ 10 min after write despite Cache-Control in the future

Francis Daly francis at
Thu Apr 9 22:52:24 UTC 2015

On Thu, Apr 09, 2015 at 06:33:12PM -0400, nikita.tovstoles wrote:

Hi there,

> Trying to figure out what and why is removing cache entries about 10 min
> after insert (or last read - not yet sure) when the Cache-Control +
> Last-Modified is nearly 24 hours in the future. Are my config / response
> headers to blame or something else?

>  proxy_cache_path /opt/clabs/nginx/tmp/cache keys_zone=static:1000m;

Look for "inactive".

(That's my guess, at any rate.)

Francis Daly        francis at

More information about the nginx mailing list