Query String Caching
Control how query strings affect CDN cache behavior for dynamic or parameterized URLs.
Query String Caching defines how URLs containing query parameters are interpreted by the CDN cache. You can cache each query string variant separately, ignore selected query strings, or build the cache key using only specific parameters.
You can manage Query String Caching in the Medianova Control Panel or via API.
Log in to the Medianova Control Panel, select a CDN resource in the CDN section, and navigate to the Query String Caching section under the Caching tab.
Configure Query String Caching
This workflow defines the primary caching behavior for URLs containing query strings.

Select the Query String Caching Mode
Choose one of the following options under Query String Caching:
On — Cache each query string variant separately.
Off — Ignore all query strings; all variations map to a single cached object.
Request URI — Cache based on the full request URI, including query parameters exactly as received. This option is typically used for edge cases where the exact request format must be preserved.
Submit the Configuration
Click Submit to apply the selected caching mode.
Configure Ignore Specific Query Strings
Exclude selected query string parameters so they do not create separate cached variants.
Enable Ignore Specific Query Strings
Toggle Ignore Specific Query Strings to On.
Enter Query Strings to Ignore
Add one or more parameters that should not affect the cache key.
Submit the Configuration
Click Submit to save the changes.
Cache Specific Query Strings Only
Build the cache key using only selected parameters and ignore all others.
Enable Cache Specific Query Strings Only
Toggle Cache Specific Query Strings Only to On.
Enter Query Strings to Cache
Add parameters that should be included in the cache key.
Submit the Configuration
Click Submit to apply the rule.
Behaviour
On: The CDN caches each unique query string as a separate variant.
Off: Query strings are ignored; all variants map to a single cached object.
Request URI: The full request URI is used as the cache key. This mode is generally intended for edge-case scenarios requiring exact URI preservation.
Ignore Specific Query Strings: Excluded parameters do not contribute to the cache key.
Cache Specific Query Strings Only: Only the selected parameters contribute to the cache key; all others are ignored.
FAQ
Do ignored parameters count toward the cache key? No. Ignored parameters never create new cache variants.
Can both Ignore and Cache Specific modes be enabled together? No. Only one mode can be active.
When should Request URI mode be used? Request URI mode is generally intended for edge-case scenarios where the exact request format must be preserved, such as URLs containing special or non-standard characters.
Does enabling On increase cache fragmentation? Yes. Each query combination creates a separate cached object.
Last updated
Was this helpful?