Add a cache rule
Learn how to add a cache rule by following a series of steps, including selecting options and entering specific details.
To add a cache rule, complete the following steps:
- Select the Add a Cache Rule button. The Add a Cache Rule dialog box displays.
- Enter the name of the rule in the Title text box.
-
Enter the path on which you want to apply the rule in the
URL Path
text box.
Note: You can use regular expressions in the URL path. For example, specifying
\/breaking-news
applies the rule to any path that ends /breaking-news. - If you don’t want the URL path to use the ten minute cache period, select the Disable origin cache checkbox.
- If you want to use the latest information stored in a user attribute, select the Disable user attribute cache checkbox. For example, if a user edits information that is stored in a user attribute and refreshes the page, the updated information is used if this checkbox is selected.
- Select the Save button to save the rule and return to the Cache Rules screen. Selecting the Cancel button returns you to the Cache Rules screen without saving your rule.