Article ID: 313561 - Last Review: November 21, 2006 - Revision: 2.2 HOW TO: Set HTTP Headers for Content Expiration in Internet Information Services (IIS) 5.0
This article was previously published under Q313561 On This PageSUMMARY
This step-by-step article describes how to set the expiration of Web site content in Internet Information Services (IIS) 5.0.
If your Web site contains time-sensitive information, such as special offers or event announcements, you can configure settings to ensure that information that is no longer valid is not published. When you establish content expiration, you can configure site content to automatically expire any time. When you enable the content expiration feature, IIS includes the expiration information in the Hypertext Transport Protocol (HTTP) header of the Web page that is sent to the Web browser. The browser then compares the current date with the expiration date to determine whether to display a locally cached page, or request an updated page from the server. You can set content expiration for Web sites, for virtual folders, or for individual files. Site-level settings apply to all content in that site, folder-level settings apply to all folders and files in that folder, and file-level settings apply to an individual file. How to Set HTTP Headers for Content ExpirationTo set content expiration for a Web site, for a virtual folder, or for a file:
Notes
REFERENCES
For more information about content expiration in IIS, see the "Enabling Content Expiration" topic in the "Web Site Management" section of the IIS 5.0 Online Documentation:
http://localhost/iishelp
(http://localhost/iishelp)
Note that this link works correctly only if you have IIS installed on your computer. | Other Resources Other Support Sites
CommunityArticle Translations |






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email

Back to the top