Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
482 views
in Technique[技术] by (71.8m points)

vue.js - Nuxt.js App: Redeploy causes payload.js 404 Not found

I have a webpage which runs a full static nuxt.js app. After a redeploy we sometimes experience some weird 404s, where payload.js was not found (404).

See the last two errors:

enter image description here

Could it be that some weird caching is causing this? The problem appears (at least so far) only for users who visited the page, then a redeploy happendend, and after that they would see a failing page, because some js files were obviously missing...

I am very glad for any hints, why this could accur.

  • Are there some specific nuxt caching settings, I could improve?
  • Deploys are via netlify.com. But any caching there is disabled.
  • I thought caching should no be a problem because of the build number in the file url...

Thanks a lot and cheers.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...