Hi.
When using Nuxt, I ask questions.
When I distribute the site that I have built, it is not working properly due to a cache problem.
There are two cases below. Is there any way to solve them?
If built, the file names of js and css will be renamed to hash values, but it was not reflected by viewing old cache in browser.
Create applications using vue-native webview The webview in the application looked up the old cache. To apply the changed js, css, how do I remove the cache from the past?
I would appreciate it if you could show me how to clearly manage the cache.
This issue as been imported as question since it does not respect nuxt.js issue template. Only bug reports and feature requests stays open to reduce maintainers workload.
If your issue is not a question, please mention the repo admin or moderator to change its type and it will be re-opened automatically.
Your question is available at https://cmty.app/nuxt/nuxt.js/issues/c8476.
I'm having the exact same issue..
Did you find a way?
same here
Same here. Can this be requalified as an issue please?
+1 UP
Any of you got a setup where the problem can be reproduced? It's pretty random here :/
If so, it might be more effective to raise a correct issue
i'm having the same issue , i need to wait between 1h and 1 day to have the website fully working after a build
Same here
+1 UP
This issue is closed. You won't find an answer here. Instead, please open a new one with the correct template.
Thanks for the help!! You are amazing
For anyone looking for a solution to this (I found this closed thread with no solution)...here's what I faced and the approach that worked and was easy to implement.
Issue: The HTML would not show changed from new deployments until the browser was refreshed.
Solution:
It turned out to be simple to implement and just works. I followed a medium post about using Pusher to do something similar albeit a lot more complex.
Hope this helps someone else facing these issues ✋