You can now see the exact cache key generated for any request directly in Cloudflare Trace. This visibility helps you troubleshoot cache hits and misses, and verify that your Custom Cache Keys — configured via Cache Rules or Page Rules — are working as intended.
Previously, diagnosing caching behavior required inferring the key from configuration settings. Now, you can confirm that your custom logic for headers, query strings, and device types is correctly applied.
Access Trace via the dashboard or API, either manually for ad-hoc debugging or automated as part of your quality-of-service monitoring.
Example scenario
If you have a Cache Rule that segments content based on a specific cookie (for example, user_region), run a Trace with that cookie present to confirm the user_region value appears in the resulting cache key.
The Trace response includes the cache key in the cache object:
{ "step_name": "request", "type": "cache", "matched": true, "public_name": "Cache Parameters", "cache": { "key": { "zone_id": "023e105f4ecef8ad9ca31a8372d0c353", "scheme": "https", "host": "example.com", "uri": "/images/hero.jpg" }, "key_string": "023e105f4ecef8ad9ca31a8372d0c353::::https://example.com/images/hero.jpg:::::" }}Get started
To learn more, refer to the Trace documentation and our guide on Custom Cache Keys.
Source: Cloudflare
Latest Posts
- GCP Release Notes: December 10, 2025

- Microsoft Teams: Enhancing update efficiency through peer-to-peer (P2P) download [MC1194069]
![Microsoft Teams: Enhancing update efficiency through peer-to-peer (P2P) download [MC1194069] 3 pexels apasaric 3310691](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Microsoft Teams: Restart Event feature for Town Hall with unrecoverable failures [MC1194079]
![Microsoft Teams: Restart Event feature for Town Hall with unrecoverable failures [MC1194079] 4 pexels sarah trummer 155385 955787](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Microsoft 365 Copilot: Declarative agents model upgrade to GPT-5.1 [MC1194070]
![Microsoft 365 Copilot: Declarative agents model upgrade to GPT-5.1 [MC1194070] 5 pexels anthony derosa 39577 211816](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)


![Microsoft Teams: Enhancing update efficiency through peer-to-peer (P2P) download [MC1194069] 3 pexels apasaric 3310691](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-apasaric-3310691-150x150.webp)
![Microsoft Teams: Restart Event feature for Town Hall with unrecoverable failures [MC1194079] 4 pexels sarah trummer 155385 955787](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-sarah-trummer-155385-955787-150x150.webp)
![Microsoft 365 Copilot: Declarative agents model upgrade to GPT-5.1 [MC1194070] 5 pexels anthony derosa 39577 211816](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-anthony-derosa-39577-211816-150x150.webp)
