The Custom Cache Keys purge feature lets you purge cached files by URL, request headers, cookies, and user characteristics (device type, country/region, and language) based on your configured custom cache key rules, targeting files created with these custom cache key rules.
Use cases
When a caching rule uses a custom cache key, standard URL purge cannot remove the cached files. Use the Custom Cache Keys purge option instead.
Procedure
In the ESA console, select Websites, and in the Website column, click the target site.
In the left-side navigation pane, select .
On the Purge Cache tab, configure the purge rule.
For Type, select Custom Cache Keys.
Parameter
Description
Example
URL
Required. Enter the full URLs to purge, one per line. Maximum: 1,000 URLs per request.
https://www.example.com/cat.jpghttps://www.example.com/image/cat.jpg?color=red
Header
Optional. Enter the name and value for each
Header, oneHeaderper line.Note: Do not use these
headernames (case-insensitive):UserGeoUserDeviceTypeUserLanguageCookie
Name:
headernameValue:
headervalue
Cookie
Optional. Enter the
Cookievalue.example=123;image=456;test=789User characteristics
Optional.
Device type: Select from the drop-down list.
Country/region: Select from the drop-down list.
Language: Select or enter the client language code. Must conform to
ISO 639-1orBCP47.
Enter
zhto purge Chinese-language content.Click Submit.
Check the purge status.
After you submit a purge task, track its progress on the Purge Records tab. 100% indicates completion. Large tasks may take longer.
Supported editions
Free | Basic | Standard | Advanced | Enterprise |
2,000 times |