Message: 10 Date: Tue, 19 May 2009 15:10:26 +0200 From: till klimpong@gmail.com Subject: [RCD] Cache buster? (Re: Trunk 2501 error javascript in osx)
On Tue, 19 May 2009 14:11:13 +0200, "A.L.E.C" alec@alec.pl wrote:
Sandro Pazzi wrote:
> I've installed the last version and I find this errors in osx firefox
and
> safari. > > All works fine in firefox and safari on windows.
Css cache issue. Clear browser's cache.
Do we need a cache buster? E.g. skins/default/css/main.css?v=RCVERSION
Or we include the version in the filename for releases?
Thoughts anyone?
I think version in the filename is better, that way browsers can cache the css.
The same can be done for js files. When I patched a js file to solve a bug, that required full refresh in clients; you don't know when the cache will be invalidated, somehow file mtime is not very reliable (?)