Are ALL files on _next/static served with immutable cache? #78807
Unanswered
benjavicente
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
The new documentation about caching in production (Next.js 15 app dir) has:
It isn't clear where are the immutable assets. In the old documentation of caching in production (Next.js 13 pages dir), it mentions that immutable assets are served from
/_next/static
, but not that all of the contents of the/_next/static
are inmutable:In all Next.js deployments (pages, app dir), it is ok to cache ALL contents of the
/_next/static
path with immutable cache, or are there any files that could change?It isn't clear if all
/_next/static/*
is guaranteed to be immutable 🤔Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions