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:- Start the ISA Server Management tool.
- Expand ServerName, where ServerName is the name of the ISA Server.
- Expand Configuration, and then click Cache.
- 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.
- Type a descriptive name for the new cache rule, and then click Next.
- Click Add, click New, and then click Domain Name Set.
- 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.
- Click Add, and then type the name of the domain that you do not want to cache content from. For example, type *.example.com.
- Click OK, expand Domain Name Sets, click the new domain name set that you created, click Add, and then click Close.
- 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.
- Click Never, no content will ever be cached, click Next, and then click Finish.
- 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:
- Start the Microsoft Forefront Threat Management Gateway Server, Medium Business Edition Server Management tool.
- Expand ServerName, where ServerName is the name of your Microsoft Forefront Threat Management Gateway, Medium Business Edition Server computer.
- Click Web Access Policy.
- Click the Tasks tab, and then click Configure Web Caching.
- Click the Cache Rules tab, and then click New.
- Type a descriptive name for the new cache rule, and then click Next.
- Click Add, click New, and then click Domain Name Set.
- 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.
- Click Add, and then type the name of the domain that you do not want to cache content from. For example, type *.example.com.
- Click OK, expand Domain Name Sets, click the new domain name set that you created, click Add, and then click Close.
- 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.
- Click Never so that no content will ever be cached, click Next, and then click Finish.
- 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.