Closed kentcdodds closed 1 year ago
oh, you're right. Will fix this in a backwards-compatible way within the next days.
Actually, the fix is a breaking change for everyone working with CacheMetadata
for example by maintaining a custom Cache
implementation (such as your "SQLite cache").
But the change is implemented so that existing cache entries with swv
continue to work, and only new writes use swr
Great! Thank you :)
I noticed the metadata has
staleWhileRevalidate
shortened toswv
. Shouldn't that beswr
?