You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf: memoize blobs requests in the request scope (#2777)
* test: add test case with multiple fetches for same resource and test asserting we only check blobs once per request for same key
* refactor: create simplified key-value store interface to interact with blobs with common tracing pattern
* refactor: create reusable helper to record warnings
* perf: memoize blobs requests in the request scope
* refactor: rename RequestSpecificInMemoryCache to RequestScopedInMemoryCache
* refactor: modulurize blobs storage abstractions
* chore: fix lint
* refactor: move non-CacheHandler related types and utils from cache-types to blob-types module
* fix: add missing implementation for isTagManifest and isHtmlBlob type guards
* chore: drop use of noOpInMemoryCache
---------
Co-authored-by: Mateusz Bocian <[email protected]>
// those are pre 14.1.0 options that were moved out of experimental in // https://github.com/vercel/next.js/pull/57953/files#diff-c49c4767e6ed8627e6e1b8f96b141ee13246153f5e9142e1da03450c8e81e96fL311
0 commit comments