Is there a standard practice for forcing users to refresh their cached browser content after intranet deployments? They tend to have conflicting JavaScript cached in their browsers, and must hit F5 to get rid of JavaScript errors in IE 8.0. Per management, we deploy during business hours.
The need is to invalidate/expire each user’s cache a single time on first hit to the site, then let the user resume caching normally.
Thanks!
You can’t force a browser to flush its cache, but you can force it to reload something by adding a dummy query part to the URL:
When you want to force a new version, you update the URL references to “002”, “003”, etc. Exactly how you do that depends a lot on your server-side technology.