Configure Cache Control Rules
ARR allows for multiple cache control rules, including rules to only cache content based on URL patterns or host names, or to not cache certain content. The cache control rules are processed in the list from top to bottom.
To configure cache control rules
- Open IIS Manager.
- In the Connections pane, expand the server node.
- In the Server pane, double-click Application Request Routing Cache.
- On the Application Request Routing Cache page, in the Actions pane, click Cache Control Rules….
- On the Cache Control Rules page, in the Actions pane, click Add….
- In the Add Cache Control Rule dialog box, follow these steps:
- In the Apply rule list, select when you want to apply the cache control rule:When no cache control directive exists or Always.
- Select Do not cache or Cache.
- If you selected Cache, enter the duration in the Cache duration (minutes) box.
- In the Host name box, optionally enter the name of your host site.
- In the URL box, optionally enter the URL.
- Click OK.
No comments:
Post a Comment