Hello!
I found a difference between IE9 and IE8 in using cache.
testCache.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!
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!