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

David,

Karr, David wrote:
| When I'm debugging javavascript code, it's really annoying when Firefox
| caches the javascript file (even when I've modified it).  I'm familiar
| with the headers for disabling caching, but it's a little more annoying
| to emit those headers on javascript files.  Unless I'm missing
| something, is there an easy way to make Tomcat send the disable cache
| headers for all responses, perhaps for a single application?

Write a Filter. See java.servlet.Filter for more information.

If you're running Apache httpd, you could use mod_headers.

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

iEYEARECAAYFAkfdXBsACgkQ9CaO5/Lv0PD9FQCff/+2bGldGW8YvpnKo0cDvCTN
rk8AnR9q3ABIdmYbRb8NC0Rqkp5fM1ed
=P8fw
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to