Article ID: 311006 - View products that this article applies to.
This article was previously published under Q311006
This article has been archived. It is offered "as is" and will no longer be updated.
This step-by-step article describes how to prevent the Web caching of objects on your server.
Enable Content Expiration in IIS 5.0When content expiration is enabled, the Web browser compares the current date to the expiration date to determine whether to display a cached page or request an updated page from the server.
To set the expiration of Web site content in IIS 5.0, follow these steps:
Prevent Caching Using an ASP ScriptYou can also prevent individual pages from being cached by adding a script to ASP files. To do this, follow these steps:
For additional information on controlling Web page caching, click the article numbers below to view the articles in the Microsoft Knowledge Base:
(https://support.microsoft.com/kb/165150/EN-US/ )How to Use Pragma: No-cache with IIS and IE
234067For more information, see the following Web sites:
(https://support.microsoft.com/kb/234067/EN-US/ )HOWTO: Prevent Caching in Internet Explorer
Caching Tutorial for Web Authors and Webmasters
Web Caching and Content Delivery Resources