Skip to content
Commit Detail

Commit 5f22fbe

Author
Dan Lapid <dlapid@cloudflare.com> 2026-01-17 00:40:59 +0000
Parents
dd88223
Tree
c99af1a
Fix bug in cache ttl validation

When using cache: no-store header and cacheTtl is correctly set to -1
this validation would fail with a nonsensical "TypeError: CacheTtl: -1, is not compatible with cache: no-store header."
This is because operator== compares identity of the values, not their contents.

Files changed

2 files changed~2 modified