tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Violeta Georgieva <miles...@gmail.com>
Subject Re: Caching of protected static content with Expires header: Expires Thu, 01 Jan 1970 03:00:00 EET?
Date Fri, 20 Jan 2012 19:00:57 GMT
And if I want to cache a protected resource only locally what I should do?

Thanks

2012/1/20 <markt@apache.org>

> Violeta Georgieva <violetagg@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 header: Expires Thu, 01 Jan 1970
> >03:00:00
> >EET - see screenshot3 & screenshot4
> >My question is why the expires header is set with this value? Doesn't
> >this
> >prevent caching?
>
> Yes. That is the point.
>
> Mark
>
>
> >
> >I'm running Tomcat 7.0.23
> >
> >Thanks in advance
> >Regards
> >Violeta
> >
>  >---------------------------------------------------------------------
> >To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> >For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message