IE 8 Caching Problem

An extra comma appeared in one of my javascript sources that threw an error in IE8. So I opened my editor, deleted the comma and saved. I rebooted IE8, but it was still pulling the old js file. I deleted everything in "Delete browsing history ..." and restarted the browser. It still pulls the old file. I even set up a log on my server to show whenever a js file was requested. When rebooting with IE, the js file is never requested.

I tried to do the same process in Chrome and FF, and he pulled out a new file and registered correctly on the server.

Is there any other cache that I cannot clear in IE that might cause this problem?

+5
source share
3 answers

Give it a try CTRL + F5.

And you can use CTRL + SHIFT + DELto open a dialog in which you can explicitly clear the cache.

Just to let you know, your browsing history has nothing to do with the cache.

+4
source

Ctrl + F5 - your friend; forces to reload the cold cache. If you are worried that your users have the same problems, however, there is a trick that you can use to get them to get new versions.

Keep in mind that if this is an external resource, you can set the request parameter in the src attribute of the script tag so that IE recognizes it as a different version. eg:

<script type="text/javascript" src="lol.js?new=yes"></script>
+4

jquery :

$. ajaxSetup ({cache: false});

+1
source