nginx-0.8.37

Igor Sysoev igor at sysoev.ru
Tue May 18 20:46:38 MSD 2010


On Tue, May 18, 2010 at 06:34:18PM +0200, Manlio Perillo wrote:

> Igor Sysoev ha scritto:
> > On Tue, May 18, 2010 at 05:59:07PM +0200, Manlio Perillo wrote:
> > 
> >> Igor Sysoev ha scritto:
> >>> Changes with nginx 0.8.37                                        17 May 2010
> >>> [...]
> >>>     *) Bugfix: nginx ignored the "private" and "no-store" values in the 
> >>>        "Cache-Control" backend response header line.
> >>>
> >> By the way, last time I checked the code, I noted that Nginx always
> >> ignore the Vary header, and require the cache key to be explicitly set.
> >>
> >> Is it possible to have a default cache key, generated from request URI
> >> (including query string) and Vary header?
> > 
> > The Vary header is response header, you can not use it in cache key.
> > 
> 
> I meant the Vary header from backend response.

Backend response headers can not be used in cache key, because nginx
does not know them: the key is used to find a cached backend response.


-- 
Igor Sysoev
http://sysoev.ru/en/



More information about the nginx mailing list