next.js
3dafab91 - [Cache Components] Allow stale longer than expire in cacheLife (#85115)

Commit
62 days ago
[Cache Components] Allow stale longer than expire in cacheLife (#85115) We previously encoded an invariant with cacheLife that required stale to be greater than expire. This doesn't really make sense because these describe completely different lifetimes. Stale starts from when the client reads the response but expire starts from when the cache entry is created. This removes the the requirement that expire be greater than stale
Author
Parents
Loading