Configure cache key query parameters

You can customize cache keys by specifying whether to use a query string in an incoming request to differentiate objects in a cache.

How to

  1. On the Caching settings page, in the Cache key query parameters section, set the Customize cache key switch to Yes.
  2. From the Behavior menu, select how you want to customize cache keys.
  3. If you selected Include only specified parameters or Exclude only specified parameters, do these steps:
    1. In the Parameters field, enter the parameters to be included in or excluded from cache keys.
    2. Set the Exact match switch to the desired value.
      Note: If you set Exact match to No, even the parameters that begin with the strings you specified in the Parameters field will match.

Next steps

Configure resource caching