@cloudflare/next-on-pages@1.8.0
github-actions
released this
26 Nov 16:47
·
126 commits
to main
since this release
Minor Changes
-
888ae85: Add support for using a KV to implement the Suspense Cache via naming convention
With this change users can have their suspense cache implemented via a KV binding, in order to
opt-in to such implementation they simply need to make sure that their application has a KV binding
named__NEXT_ON_PAGES__KV_SUSPENSE_CACHE
(the next-on-pages worker will pick up such
binding and use it to implement the suspense cache instead of using the default workers cache API).
Patch Changes
- f364224: Set
x-vercel-sc-host
request header for older versions of Next.js for the suspense cache. - d7b34cc: Falling back to header if cache tags are not given from fetched CachedFetchValue object. The change was introduced from Next.js 13.5+.
- dbe2c78: Update the matcher for the temp fix for a Next.js bug to match more chars.