Cache on Updates

2011-01-20 Thread Richard White
Hi, Every time we need to do an update to the client script on our software, we are noticing the changes are not being picked up by our users until they clear their cache. We are wondering what is the best way of handling this? thanks

Re: Cache on Updates

2011-01-20 Thread Wil Genovese
Your talking about javascripts right? caching of these is normal and good, but updates are also needed. A good way to do this is to version the filename. ie. siteScript1.0.0.js then siteScript1.0.1.js etc... This forces the browsers to load the new script into cache the first time it

Re: Cache on Updates

2011-01-20 Thread Mike Chabot
When I make a change to a .js file or a .css file and I want to be sure that users have the latest version, I change the name of the file, such as script1.js, script2.js, etc. I think this is the best way. Maybe you could put a dummy URL variable on the path as an alternative. -Mike Chabot On

Re: Cache on Updates

2011-01-20 Thread Richard White
excellent idea, thanks Hi, Every time we need to do an update to the client script on our software, we are noticing the changes are not being picked up by our users until they clear their cache. We are wondering what is the best way of handling this? thanks