cloudflare-adapter
w/ caching
Example for bug in This minimal Sveltekit-app shows that deployed pages on Cloudflare Pages with a maxage
and credentials: 'omit'
lead to a crash on page load.
The page loads fine if the user navigates to it from another page, i.e. using client-side routing, but crashes when the page gets called directly.
Live demo
https://070b0bb1.sveltekit-cloudflare-cache-issue.pages.dev/posts/slug-101
Steps to reproduce
- Deploy on Cloudflare pages
- Go to landing page
- Click Posts Page
- Click Open posts detail page
- Page loads
- Reload, see error