Skip to content

Commit 78d00c0

Browse files
authored
Cache keys - update note with link about mentioning cache by device type
1 parent 9eb3fcf commit 78d00c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/content/docs/cache/how-to/cache-keys.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Custom cache keys let you precisely set the cacheability setting for any resourc
4444
7. To save and deploy your rule, select **Deploy**. If you are not ready to deploy your rule, select **Save as Draft**.
4545

4646
:::note
47-
When [URL normalization](/rules/normalization/) is enabled, we recommend also enabling [Normalize URLs to origin](/rules/normalization/manage/), especially if you are setting custom cache keys or using cache by device type, which also modifies the cache key. This helps ensure the URL in the cache key matches the URL sent to the origin, preventing cache poisoning and ensuring consistent behavior.
47+
When [URL normalization](/rules/normalization/) is enabled, we recommend also enabling [Normalize URLs to origin](/rules/normalization/manage/), especially if you are setting custom cache keys or using [cache by device type](/automatic-platform-optimization/reference/cache-device-type/), which also modifies the cache key. This helps ensure the URL in the cache key matches the URL sent to the origin, preventing cache poisoning and ensuring consistent behavior.
4848
:::
4949

5050
## Cache Key Template

0 commit comments

Comments
 (0)