Query String Caching

The Query String Caching feature in the Medianova Cloud Panel for dynamic content allows you to manage how query strings are handled and cached by the CDN. For dynamic content, query strings often carry important parameters, such as user-specific data, filters, or session identifiers. With this feature, you can control how variations of a dynamic URL with different query strings are cached separately or treated as the same resource.

Key Features

  • Enable Query String Caching: When enabled, each unique query string variation of a dynamic URL will be cached separately. This allows dynamic content with different query parameters (e.g., user IDs, session tokens, or filters) to be treated as distinct cached resources, optimizing delivery for different content variations.

  • Ignore Specific Query Strings: This option allows you to specify query strings that should not be cached separately. If a URL contains certain query strings (e.g., tracking parameters), these query strings will be ignored in the caching process. As a result, requests with these query strings will be treated as if they do not exist, reducing the number of cached versions and optimizing storage.

    How It Works:

    • After enabling this option, a field will appear where you can enter the specific query strings you wish to ignore.

    • You can add multiple query strings by clicking the + button.

    • Once set, requests with these query strings will not create separate cached versions.

  • Cache Specific Query Strings Only: When enabled, you can specify a list of query strings that should be cached separately. Only requests with these query strings will create distinct cached versions, while other requests with different query strings will be treated as the same resource.

    How It Works:

  • After enabling this option, a field will appear where you can enter the query strings you want to cache separately.

  • You can add multiple query strings by clicking the + button.

  • Once set, only requests with these query strings will be cached separately, while other requests without these parameters will be treated as the same cached resource.

Important Note

Mutual Exclusivity: Both the Ignore Specific Query Strings and Cache Specific Query Strings Only options cannot be enabled simultaneously. Only one of these options can be active at any given time, ensuring clear and distinct caching behavior.

By using Query String Caching for dynamic content, you can optimize caching for content that varies based on user-specific parameters or session data, improving performance while maintaining accurate and fresh dynamic content delivery.

How to Configure Query String Caching

  1. Click on the CDN Resources section in the left-hand menu of the Cloud panel.

  2. Select the relevant resource.

  3. Click on the Caching tab.

  4. Navigate to the Query String Caching section in the Medianova Cloud Panel.

  1. Choose Caching option.

    1. Ignore Specific Query Strings: Enable this option if you want to ignore specific query strings and not cache them separately. Enter the query strings you want to ignore in the provided field. Click the + button to add multiple query strings.

    2. Cache Specific Query Strings Only: Enable this option if you want to cache only specific query strings separately. Enter the query strings you want to cache separately in the provided field. Click the + button to add multiple query strings.

  2. After configuring the query string caching settings, click Submit to apply the changes.

By configuring the Query String Caching settings, you gain granular control over how query string variations of your resources are cached, optimizing caching strategies based on your specific needs.

Last updated

Logo

© 2025 Medianova. All rights reserved.