-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John,

On 8/2/2010 2:06 PM, john.rana...@thomsonreuters.com wrote:
> Can someone point me to the documentation on how to handle caching of
> static content? Images and static HTML documents are all being returned
> without cach-control response headers but I am unsure how to set these
> values. Thus the files are being retrieved each and every time. 

http://lmgtfy.com/?q=tomcat+cache-control

> Also, how to handle the situation when you want a javascript file to be
> cached but after a release you need the file to be refreshed on the
> client.

Use the Expires header, and set it to "tomorrow"?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxZcx0ACgkQ9CaO5/Lv0PCdxgCfYDhiLcflqmcIIs7DfitEvu41
heEAoLxQhkzwlVcgARRFd5Ie1xmWAJjL
=kYZ5
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to