Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
Prevent caching when you download active documents over SSL
Article ID: 815313 - View products that this article applies to.
This article discusses how to download active documents over Secure Sockets Layer (SSL) without permanently caching them on the client computers.
When you try to open or to download an active document over SSL, you can use one the following methods to prevent permanent client-side caching. The solutions listed here only work when you try to open or to download the active document as a result of a POST request or by clicking a hyperlink on a Web page.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/316431/ )Internet Explorer is unable to open Office documents from an SSL Web site
A fix is available to allow Internet Explorer to open or to download the active document directly by typing the URL of the document in the Internet Explorer Address bar and to prevent caching when the above methods are used. This fix also corrects the behavior with the Cache-Control: no-cache HTTP header. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/812935/ )"Internet Explorer cannot download" error message when you use an HTTPS URL to open an Office document or PDF file
If this fix is installed, you can use the three solutions that are discussed in the article to prevent caching when you try to open or to download an active document as a result of a POST request, by clicking a hyperlink, and by directly browsing to the URL of the active document. This will be the default behavior from Internet Explorer 6.0 Service Pack 2 (SP2).
Another similar fix is available to allow Internet Explorer to open or to download the active document when Cache-Control headers are used to prevent caching. Please note that this fix only works with the Cache-Control: no-cache and the Cache-Control: no-store HTTP headers. However, the download fails with the client side setting "Do not save encrypted pages to disk" when browsing to the URL of the active document directly. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
323308The only difference between the 812935 hotfix and the 323308 hotfix is that the 323308 fix sets the following registry key with a DWORD value of 1:
(http://support.microsoft.com/kb/323308/ )Internet Explorer file downloads over SSL do not work with the cache control headers
By default, this registry key is added when you install the 323308 hotfix. Also, by default, the
BypassSSLNoCacheCheckregistry value is not set if you install a security update (MS04-004) that upgrades Wininet to version 6.0.2800.1400 or later.
Article ID: 815313 - Last Review: November 8, 2005 - Revision: 8.0