Configure resource caching
In the Resource level caching section of the Caching settings page, you can configure caching options for individual API resources. These individual resource settings take precedence over the general API caching configuration.
If you decide to reset caching settings for all resources to the API level at any point, you can click Reset to API settings. You can also control which individual resources inherit the top-level settings by selecting their Inherit check boxes.
- On the Caching settings page, in the Resource caching option column, select the type of caching that you want to apply to a resource.
In the Resource caching
details column, enter the maximum time for caching
Note: You can specify this parameter in seconds, minutes, hours, or days. In each case, the value must be between 1 and 1000000.
- Optional: If applicable, to serve expired objects when revalidation with the origin server is not possible, set the Serve stale objects on origin error switch to Yes.
- Optional: Set the Customize cache key switch to Yes.
- If applicable, from the Behavior menu, select how you want to customize cache keys.