Welcome to Zuora Product Documentation

Explore our rich library of product information

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:

  1. Select the Add a Cache Rule button. The Add a Cache Rule dialog box displays.
  2. Enter the name of the rule in the Title text box.
  3. 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.
  4. If you don’t want the URL path to use the ten minute cache period, select the Disable origin cache checkbox.
  5. 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.
  6. 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.