IE will first obtain the documents from the server, cache them to the local computer, open them, or save them as other documents.
However, the web server will contain a message in the response sent to the IE client, and IE is not allowed to be cached locally.
HTTP/1.1 200 OK
Cache-Control: no-store
Content-Length: 78336
Content-Type: application/vnd.ms-word.doc ument.12
Last-Modified: Mon, 20 Aug 2007 06:31:27 GMT
In this case, IE cannot directly open this document or perform the download action.
Solution: Modify the registry key to 0x1:
All users affected:
HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Windows \ CurrentVersion \ Internet Settings \ BypassHTTPNoCacheCheck
Impact on current user:
HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Windows \ CurrentVersion \ Internet Settings \ BypassHTTPNoCacheCheck
Type: DWORD
Value: 0x1
This key value will force IE to cache files, regardless of whether the server sends cached requests.
MakeIEPassCachCheck. vbs
On error resume next
Set wshShell = wscript. CreateObject ("wscript. shell ")
WshShell. RegWrite "HKLM \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Internet Settings \ BypassHTTPNoCacheCheck", 1, "REG_DWORD"
Source:
Internet Explorer file downloads over SSL do not work with the cache control headers
Http://support.microsoft.com/kb/323308