Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

How to prevent the caching of content from certain Web sites in ISA Server 2006, ISA Server 2004, or Microsoft Forefront Threat Management Gateway Server, Medium Business Edition


View products that this article applies to.

Introduction

This article describes how to prevent the caching of content from certain Web sites in Microsoft Internet Security and Acceleration (ISA) Server 2006, ISA Server 2004, or Microsoft Forefront Threat Management Gateway Server, Medium Business Edition.

Configure a cache rule

Configure a new cache rule to exclude a particular Web site's content from the cache. To do this in ISA Server, follow these steps:
  1. Start the ISA Server Management tool.
  2. Expand ServerName, where ServerName is the name of the ISA Server.
  3. Expand Configuration, and then click Cache.
  4. Do one of the following as appropriate for the version of ISA Server or Forefront Threat Management Gateway server that you are running:
    • If you are running ISA Server 2006, click the Cache Rules tab, click the Tasks tab, and then click Create a Cache Rule.
    • If you are running ISA Server 2004, click the Tasks tab, and then click Create a Cache Rule.
  5. Type a descriptive name for the new cache rule, and then click Next.
  6. Click Add, click New, and then click Domain Name Set.
  7. In the New Domain Name Set Policy Element dialog box, type a descriptive name for the policy element that will represent the domain that you do not want to cache content from.
  8. Click Add, and then type the name of the domain that you do not want to cache content from. For example, type *.example.com.
  9. Click OK, expand Domain Name Sets, click the new domain name set that you created, click Add, and then click Close.
  10. Click Next, click Only if a valid version of the object exists in the cache. If no valid version exists, route the request to the server, and then click Next.
  11. Click Never, no content will ever be cached, click Next, and then click Finish.
  12. Click Apply to save your changes to the firewall policy, and then click OK.
Note You may have to modify the cache rules hierarchy to prevent an earlier rule from caching content before this cache rule is enforced. To move a rule up, right-click the rule, and then click Move Up. When you have finished modifying the cache rules hierarchy, Click Apply to save your changes to the firewall policy, and then click OK.
To do this in Microsoft Forefront Threat Management Gateway Server, Medium Business Edition, follow these steps:
  1. Start the Microsoft Forefront Threat Management Gateway Server, Medium Business Edition Server Management tool.
  2. Expand ServerName, where ServerName is the name of your Microsoft Forefront Threat Management Gateway, Medium Business Edition Server computer.
  3. Click Web Access Policy.
  4. Click the Tasks tab, and then click Configure Web Caching.
  5. Click the Cache Rules tab, and then click New.
  6. Type a descriptive name for the new cache rule, and then click Next.
  7. Click Add, click New, and then click Domain Name Set.
  8. In the New Domain Name Set Policy Element dialog box, type a descriptive name for the policy element that will represent the domain that you do not want to cache content from.
  9. Click Add, and then type the name of the domain that you do not want to cache content from. For example, type *.example.com.
  10. Click OK, expand Domain Name Sets, click the new domain name set that you created, click Add, and then click Close.
  11. Click Next, and then click Only if a valid version of the object exists in the cache. If no valid version exists, route the request to the server, and then click Next.
  12. Click Never so that no content will ever be cached, click Next, and then click Finish.
  13. Click Apply to save the changes to the firewall policy, and then click OK.

    Note To move a rule up, highlight the rule, and then click the UP arrow button. When you finish modifying the cache rules hierarchy, click Apply to save the changes to the firewall policy, and then click OK.

↑ Back to the top


References

For additional information about how to configure cache rules, search on "cache rules" in ISA Server Help.

↑ Back to the top


Keywords: KB837832, kbhowtomaster, kbinfo, kbfirewall, kbisa2006swept

↑ Back to the top

Article Info
Article ID : 837832
Revision : 6
Created on : 12/4/2007
Published on : 12/4/2007
Exists online : False
Views : 524