Nuxt re-deploy causes payload 404 not found #9834
Unanswered
gabrielsze
asked this question in
Questions (Nuxt 2)
Replies: 2 comments 1 reply
-
Hi, it would probably be interesting where this one do happen, with which configuration, if it still happens while in a private window and if the build is okay locally. Or any relevant info at all actually. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Seem to have found cloudflare caching my files for 4 hours, which matches the time. Should I be disabling caching for payload.js files? |
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
-
I believe this was asked here a while back, so it's highly similar.
https://stackoverflow.com/questions/65577842/nuxt-js-app-redeploy-causes-payload-js-404-not-found
Essentially what happens is that on redeploy, there seem to be new payload.js files being loaded up, and those on the site which hasn't been updated cause a 404.
I have the same suspicions it has to do with some caching or the need to flush a new change to users on the "old static sites with old payload". Is there any way to work around such an issue?
Beta Was this translation helpful? Give feedback.
All reactions