All Products
Search
Document Center

Edge Security Acceleration:Configure query string settings

Last Updated:Jun 08, 2026

Configure how POPs handle query strings when generating cache keys. Stripping the ? and everything after ? lets URLs with different parameters share one cached copy, improving cache hit ratios and reducing page load time.

How it works

POPs strip the ? and all parameters after ? from request URLs. Different users accessing the same file share one cached copy regardless of URL parameters, which improves cache hit ratios, reduces origin fetches, and increases file delivery efficiency.

Ignore query strings when URLs carry parameters unrelated to the cached resource, such as user IDs or tracking codes. For example:

User A: http://example.com/1.jpg?uid=123

User B: http://example.com/1.jpg?uid=654

Without query string filtering, the POP treats these as separate requests and fetches the resource from the origin for each. With filtering enabled, the POP strips the parameters after ? and uses only http://example.com/1.jpg as the cache key.

Procedure

  1. In the ESA console, select Site Management. In the Website column, click the name of the target site.

  2. In the navigation pane on the left, choose Caching > Settings.

  3. In the Query String area, click Configure, select a filtering mode, configure the settings, and click OK.

    image

Filtering modes

Assume the original URL is http://example.com/1.jpg?key1=1&key2=2&key3=3. Depending on the rule settings, ESA processes the original URL as follows:

Parameter

Description

Example

Ignore All

Removes the ? and all query strings after the ? from the request URL.

The cache key is http://example.com/1.jpg.

Retain All

Retains the ? and all query string parameters after ? in the request URL.

The cache key is http://example.com/1.jpg?key1=1&key2=2&key3=3.

Ignore Specific Parameters

Removes specified parameters after ? from the request URL. Enter the parameters to exclude and press Enter.

If you enter key1 and key3 as the parameters to delete, the cache key is http://example.com/1.jpg?key2=2.

Retain Specific Parameters

Retains only specified query string parameters after ?. Enter the parameters to keep and press Enter.

If you enter key1 and key3 as the parameters to retain, the cache key is http://example.com/1.jpg?key1=1&key3=3.

Site-level vs. rule-based settings

Site-level settings apply to all requests. To target specific requests, use rule-based features, which match conditions for finer control. The rule-based equivalent of query string filtering is Custom Cache Key.