Re: Caching of protected static content with Expires header: Expires Thu, 01 Jan 1970 03:00:00 EET?

2012-01-20 Thread Francis GALIEGUE
On Fri, Jan 20, 2012 at 14:03, Violeta Georgieva violet...@apache.org wrote: Hi, If the static content is not protected then by default it is cached and the corresponding headers are set - see screenshot1 screenshot2. but when I put it as protected content the following headers are set:

Re: Caching of protected static content with Expires header: Expires Thu, 01 Jan 1970 03:00:00 EET?

2012-01-20 Thread markt
Violeta Georgieva violet...@apache.org wrote: Hi, If the static content is not protected then by default it is cached and the corresponding headers are set - see screenshot1 screenshot2. but when I put it as protected content the following headers are set: Cache-control:private and Expires

Re: Caching of protected static content with Expires header: Expires Thu, 01 Jan 1970 03:00:00 EET?

2012-01-20 Thread Francis GALIEGUE
On Fri, Jan 20, 2012 at 15:05, ma...@apache.org wrote: Violeta Georgieva violet...@apache.org wrote: [...] My question is why the expires header is set with this value? Doesn't this prevent caching? Yes. That is the point. But there is no need for an expires header if you don't want

Re: Caching of protected static content with Expires header: Expires Thu, 01 Jan 1970 03:00:00 EET?

2012-01-20 Thread Violeta Georgieva
And if I want to cache a protected resource only locally what I should do? Thanks 2012/1/20 ma...@apache.org Violeta Georgieva violet...@apache.org wrote: Hi, If the static content is not protected then by default it is cached and the corresponding headers are set - see screenshot1