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
I am using nuxt with SSR inside a Docker container.
Whenever I build my project for production, it generates some random names for js file chunks.
This causes some issues because of the browser's cache, which tries to load not existing js files.
Because these files no longer exist, I am getting a lot of not found errors for js files built in the previous deployment.
Environment
k8s+docker
Reproduction
k8s+docker
Describe the bug
I am using nuxt with SSR inside a Docker container.
Whenever I build my project for production, it generates some random names for js file chunks.
This causes some issues because of the browser's cache, which tries to load not existing js files.
Because these files no longer exist, I am getting a lot of not found errors for js files built in the previous deployment.
I found same issue other people had asked in stackoverflow:
https://stackoverflow.com/questions/72314014/how-to-make-fixed-filenames-for-nuxt-build-in-production
but the answer will bring another problem, broswer cache.
Do we have a standard solution to solve this issue?
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: