View Full Version : is there JS that would clear cache on page load?

01-16-2008, 10:25 PM
The title pretty much describes it all, but once again

Does anyone know any kind of JS function that I can place on page load that would clear the cache on that page that its on?

01-16-2008, 11:24 PM
Can't be done that I know of. Big security risk if it could.

Do a google search on the following:

javascript clear browser cache

The first 3 results go into reasons why it can't and shouldn't be done.

01-17-2008, 01:45 AM
If you are having problems wih pages being cahced and you do not want them t be, you should be using no cache headers.