tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregor Schneider" <rc4...@googlemail.com>
Subject Re: Cache problems with static resources
Date Fri, 19 Jan 2007 13:58:30 GMT
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@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message