We have a small web based business system, used by 100ish users daily.
When doing updates we’ve run into some problems with users having to clear their cache before it will work properly.
This of course can be very frustrating for them.
So my question is. How do you avoid users having to clear their cache?
The system is written in PHP.
Change the time webpages, images, styles and client side script is cached for in .htaccess using
Cache-Control. Once the files on the users computer are older than the specified cache length, the browser will request new copies of expired data.Some info here: http://www.askapache.com/htaccess/speed-up-sites-with-htaccess-caching.html