Skip to content

Commit 3c0fb5f

Browse files
Adds info about bypass in cache rules (#23321)
1 parent 72cd68c commit 3c0fb5f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/content/docs/cache/how-to/cache-rules/settings.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ In **Cache eligibility**, you have the option to select **Bypass cache** if you
7070

7171
When creating a cache rule, you have the option to select **Bypass cache** if you want matching incoming requests to not be cached. Alternatively, you can use [Development Mode](/cache/reference/development-mode/), if you want to bypass cache for shorter periods.
7272

73+
:::note
74+
When using Custom Cache Rules with a Bypass setting, the response header may return [DYNAMIC](/cache/concepts/cache-responses/#dynamic) rather than explicitly indicating a bypass. This occurs because the rule makes the content ineligible for caching, even if the origin response is otherwise cacheable.
75+
:::
76+
7377
### Eligible for cache settings
7478

7579
When you select **Eligible for cache**, you can change the configuration settings described below.

0 commit comments

Comments
 (0)