Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Cache problems with static resources

Gregor Schneider

2007-01-19

Replies:

yes. simply don't use meta-tags, since according to some rfc browsers
do not have to interprete them.

use http-headers instead, simples as:

Expires: (Actual date - 1 month)

Write a filter that modifies the headers of each response.

Worked for us, although it was the otehr way round (we wanted to
browsers to cache).

Cheers

Greg
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.