Cache Key Query Parameters

This Behavior lets you use query strings to differentiate objects in cache.



The initial setting for this behavior is Exclude all parameters, so that all requests for the same URL are served from a single cache entry regardless of the query string. For example, these two requests would be served from the same object in cache:

http://mymedia.com/directory/manifest?token=1234598765
http://mymedia.com/directory/manifest?token=9876512345

This happens because the product would consider only the URL without the query string when looking in the cache, as shown here:

http://mymedia.com/directory/manifest

You should confirm whether the Exclude all parameters setting is appropriate for your website. In other words, does picking the appropriate setting for your environment will optimize it by incorporating Use Case-based Provisioning? Other available options include:

  • Include all parameters: This preserves the order from the request.
  • Include all parameters: This reorders alphabetically.
  • Include only specified parameters: Only what you specify is included.
  • Exclude only specified parameters: What you explicitly specify is excluded.