How to Remove IIS Cache

Save

The Internet Information Services app that comes with Windows Server Web-hosting software includes a feature for caching Web pages locally to increase the overall number of visitors that the server can support. Unfortunately, IIS caching behaviors sometimes lead to unwanted consequences when the wrong Web pages are cached. You can fix these issues by disabling the caching feature for pages on which content changes frequently, such as ASP active server pages.

  • Click "Start" on your server, open "Administrative Tools" and then select the "IIS" program.

  • Navigate to the website in IIS from which you want to remove the caching feature. Right-click on your website, then click "Properties."

  • Click "Home Directory," select "Configuration" and then click "App Mappings." De-select the "Cache ISAPI Applications" box and then click "OK" to save your changes. You've now configured the server side to prevent caching but you will also need to amend each ASP page.

  • Open each ASP page that you don't want to be cached with a plain text editor or Web design program. At the top of the page add the following line of code:

    <% Response.Expires=0 %>

References

Promoted By Zergnet

Comments

Resources

You May Also Like

  • How to Remove a Cached Page

    Internet Explorer saves information about Web pages you frequently visit in a form of storage called cache. Internet Explorer can load and...

  • How to Clear Your Browser Cache in Internet Explorer 8

    Internet Explorer 8 stores every image, Web page, cookie and anything else you download in a cache. You should regularly clear this...

  • How to Remove a System Cache

    Windows 7 has three different types of cache: memory cache, DNS (Domain Name System) cache and Thumbnails cache. Cache is a temporary...

  • How to Remove Cache in PHP

    When programming in PHP, there are certain instances that you may not want information to be cached, as it may affect data...

  • How to Reset an SSL Status

    Secure Sockets Layer SSL is a security protocol for exchanging sensitive information between a website and the computer. When customers make an...

  • How to Uninstall IIS7 on Windows 7

    IIS7 is an edition of Internet Information Services, a Web server created for Windows by Microsoft to serve documents and applications over...

Related Searches

Check It Out

Geek Vs Geek: Robot battles, hoverboard drag race, and more

M
Is DIY in your DNA? Become part of our maker community.
Submit Your Work!