Cache-Key Query String

Applies To:
HTTP Large
HTTP Small
ADN
HTTP Rules Engine - Basic Rules
HTTP Rules Engine - Advanced Rules

This feature determines whether the cache-key will include or exclude query string parameters associated with a request.

Key information:

Tip: The power of HTTP Rules Engine allows you to customize the manner in which query string caching is implemented. For example, you can specify that query string caching only be performed on certain locations or file types.

Note: If you would like to duplicate the query string caching behavior known as "no-cache" on the Query-String Caching page, then you will need to create a rule that contains a URL Query Wildcard match option and a Bypass Cache feature. The URL Query Wildcard match option should be set to an asterisk (*).

Sample Scenarios

Sample usage for this feature is provided below. A sample request and the default cache-key are provided below.

Include

Sample configuration:

This type of configuration would generate the following query string parameter cache-key:

/800001/Origin/folder/asset.htm?language=EN

Include All

Sample configuration:

This type of configuration would generate the following query string parameter cache-key:

/800001/Origin/folder/asset.htm?sessionid=1234&language=EN&userid=01

Exclude

Sample configuration:

This type of configuration would generate the following query string parameter cache-key:

/800001/Origin/folder/asset.htm?language=EN

Exclude All

Sample configuration:

This type of configuration would generate the following query string parameter cache-key:

/800001/Origin/folder/asset.htm