Skip to content

Commit

Permalink
CACHE-11937: add compat flag to support overridding cache rules via r…
Browse files Browse the repository at this point in the history
…equest cf object
  • Loading branch information
yj7o5 committed Jan 16, 2025
1 parent a33c6d2 commit 0e43df7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/workerd/io/compatibility-date.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 0e43df7

Please sign in to comment.