Welcome! Log In Create A New Profile

Advanced

Re: how to add Cache-Control: public to static files

October 06, 2009 04:10AM
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/
Subject Author Posted

how to add Cache-Control: public to static files

Jauder Ho October 05, 2009 10:20PM

Re: how to add Cache-Control: public to static files

Chris Zimmerman October 05, 2009 10:44PM

Re: how to add Cache-Control: public to static files

Igor Sysoev October 06, 2009 04:10AM

Re: how to add Cache-Control: public to static files

Maxim Dounin October 06, 2009 03:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 193
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready