Internet Explorer's direct opening and downloading Behavior

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.