nginx 0.7.64 ignoring Cache-Control headers

Maxim Dounin mdounin at
Sun Feb 7 02:46:09 MSK 2010


On Sat, Feb 06, 2010 at 05:58:34PM -0500, Kura wrote:

> Check the CHANGES file in source, can't see anything about 
> Cache-Control headers other than:
>     *) Bugfix: nginx did not treat a comma as separator in the 
>     "Cache-Control" backend response header line.
> Tried using - 
> Cache-Control: no-cache
> Cache-Control: private,max-age=0
> Cache-Control: private
> None work, nginx is still ignoring the Cache-Control headers on 
> .0.7.65, would rather not upgrade to 0.8.* =/

Ah, I missed you are using proxy_store, not proxy_cache.  It's not 
cache, it's unconditional store, and it's up to you to control 
what you store and how do you use or expire it.

Maxim Dounin

More information about the nginx mailing list