2011/7/14 André Warnier <[email protected]>:
> Hi.
>
> This is a bit of a side question, or let's say a question-by-proxy.
>
> I happen to be also subscribed to a support list for mod_perl, and someone
> there made the following comment as part of a post :
>
> quote
>
> We have 100+ web servers where apache fronts a separate tomcat server using
> mod_proxy.
>
> Sadly, the tomcat dev's forgot to set any caching headers in the HTTP
> response (either Expires, Last-Modified or Cache-control) so the sites are
> largely uncacheable by browsers and the various tomcats are becoming
> overloaded.
>
> unquote
>
> (sadly, the mod_perl OP failed to provide any version information so far).
>

AFAIK, DefaultServlet sets those headers, as well as ETag.

For JSP files or Servlets adding the headers is responsibility of their authors.

Well, usually JSPs and servlets have varying info and thus do not need
caching  (or may have some time-limited caching, like 1 minute, or 10
seconds).

I think there was a filter somewhere, that can add those headers.  I
think UrlRewriteFilter can be set up to add them as well.


Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to