how to add Cache-Control: public to static files

Igor Sysoev is at rambler-co.ru
Tue Oct 6 12:04:33 MSD 2009


On Mon, Oct 05, 2009 at 10:35:13PM -0400, Chris Zimmerman wrote:

> add_header isn't used for rewriting the header. Currently nginx supports
> only "no-cache" and "max-age=###" values
> in "Cache-Control.

These values are affected by "expires" directive only.
You may add any Cache-Control values via add_header.


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





More information about the nginx mailing list