Next.js 15: Unclear CDN Caching Behavior #71866
Unanswered
mlukasik-dev
asked this question in
App Router
Replies: 1 comment
-
Any advice on debugging would be very helpful as well :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After upgrading my website to Next 15, pages that previously returned a
Cache-Control
header withs-maxage=...
now returnprivate, no-cache, no-store, max-age=0, must-revalidate
.I’m unsure why this happens.
The site uses the App Router, with some pages utilizing
searchParams
ingenerateMetadata
callbacks, and all fetch requests havecache
set toforce-cache
.I tried using
export const dynamic = 'force-static'
- didn't help.Any insights into this change would be helpful.
Beta Was this translation helpful? Give feedback.
All reactions