Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

IE9 use cache files directly

$
0
0
Hello!
I found a difference between IE9 and IE8 in using cache.

testCache.html:
<html><head><script type="text/javascript" language="javascript" src="testCache.js?"></script></head><body>
	This is a test page!</body></html>

When visiting the page, IE9 directly using the testCache.js in cache, instead of determining whether the file has been updated.

If you refresh the page directly, IE9 will check the file for updates.
When the file has not been updated, IE9 will use the cache file; otherwise use the latest testCache.js file on the server.

This situation also occurs in IE11.

Why does this happen? 
And how to make IE in any case to check whether the file is updated?

Thank you!

Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>