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

Ognjen,

On 4/12/2011 5:37 AM, Ognjen Blagojevic wrote:
> For all static resources (css, images, js) you might add artificial
> parameter that will trigger reload, like this:
> 
>   href="some.css?v=${parameter}"

Some clients and proxies will refuse to cache resources with a query
string. In those cases, caching (obviously) won't work and there might
be a significant loss in performance of the web site.

Changing the path is safer and more effective.

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

iEYEARECAAYFAk2kXlcACgkQ9CaO5/Lv0PDWtACfQI42BqpvM+Lus3YKKOwWbjXe
SfcAnR3zITZa0muhZcQYj/NzO3qMa1eD
=zmBL
-----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