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
When using the basePath next config option, the Cache-Control of _next/static files comes up as public, max-age=0, must-revalidate. These should be immutable files with the Cache-Control public,max-age=31536000,immutable.
next-on-pages environment related information
latest /
^1.11.0
Description
When using the
basePath
next config option, theCache-Control
of_next/static
files comes up aspublic, max-age=0, must-revalidate
. These should be immutable files with the Cache-Controlpublic,max-age=31536000,immutable
.Reproduction
npm create cloudflare@latest my-next-app -- --framework=next
basePath: "/hello",
to the next configCache-Control
on_next/static/chunks
Pages Deployment Method
None
Pages Deployment ID
https://f86f21c8.my-next-app-6i8.pages.dev/hello
Additional Information
No response
Would you like to help?
The text was updated successfully, but these errors were encountered: