From 0e43df711c3ae59f24bb404905a7d16b0bd0b31c Mon Sep 17 00:00:00 2001 From: Yawar Jamal Date: Wed, 15 Jan 2025 13:05:50 -0600 Subject: [PATCH] CACHE-11937: add compat flag to support overridding cache rules via request cf object --- src/workerd/io/compatibility-date.capnp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/workerd/io/compatibility-date.capnp b/src/workerd/io/compatibility-date.capnp index 3572bf2aa5e..15f3a56f7df 100644 --- a/src/workerd/io/compatibility-date.capnp +++ b/src/workerd/io/compatibility-date.capnp @@ -679,4 +679,10 @@ struct CompatibilityFlags @0x8f8c1b68151b6cef { $compatDisableFlag("cache_no_cache_disabled") $experimental; # Enables the use of cache: no-cache in the fetch api. + + requestCfOverridesCacheRules @71 :Bool + $compatEnableFlag("request_cf_overrides_cache_rules") + $experimental + $neededByFl; + # Enables cache settings specified request in fetch api cf object to override cache rules. (only for user owned or grey-clouded sites) }