[GO] Clearing the server IIS cache common methods

Source: Internet
Author: User

Transferred from: http://www.rrzzw.com/jishu/IIS/39.html
Transferred from: http://cqujsjcyj.iteye.com/blog/736624

Use IIS to open the virtual host space to set up the site, and sometimes you will find that the site content has been updated, public access has not followed the update! This is mostly caused by the IIS cache, the IIS cache on the one hand to improve the performance of the server, on the other hand, it brings serious updates to the site, then how should we manually clean it? Next, teach you a way to manually clean up the IIS cache!

First, let's look at the HTTP protocol, and you'll find that the HTTP headers returned from the server can define such a command cache-control:no-cache. This is how we solve the problem, let's see how to use the IIS Configuration Management tool to add this command to each server's HTTP return.

The first step:
Open the IIS Configuration Management tool (Internet Information Services (IIS) manager).
Select a site (if you want to configure for all sites, select the site icon in the point), click the Properties button and a configuration window pops up


Step Two:
Select the HTTP Header tab, and you'll see a column like "Custom HTTP Headers". Ok! Here it is, at last!


Step Three:
Click the "Add (D) ..." button next to the dot to add the command.
In the window that pops up: "Cache-control" in "Custom HTTP header header (C)", enter: "No-cache" in "Custom HTTP headers value (U)".


OK, all right here, all the way to "OK" to save. This will automatically erase the IIS cache!

[GO] Clearing the server IIS cache common methods

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.