htaccess - How to force the client's browser to clear the cache?

The Solution to htaccess - How to force the client's browser to clear the cache? is


You can force browsers to cache something, but

You can't force browsers to clear their cache.

Thus the only (AMAIK) way is to use a new URL for your resources. Something like versioning.

~ Answered on 2011-12-04 08:47:31


Most Viewed Questions: