Static GitHub Issues

[3312] webpack chunks are not "unique"

prev: Error in installation notice when adding style language that isn't installed
next: dynamically generated V-model not updating value on click

Version

2.0

Reproduction link

https://no-link-available.com

Steps to reproduce

I have set up a CDN that caches all static assets for serveral days in between, and nuxt files (/_nuxt) are served from the CDN. Well, because of unique checksums/hashes, this is usually not a problem. But since around 5 days, it seems that nuxt-edge generates the same filenames, even the code is not the same anymore. The app just stops working without any error message at all. If I flush the CDN cache, and force my brwoser to reload the files, all works fine again. Not quite sure what causes this, must have to do with the filenames though.

What is expected ?

unique file names based on the content (hash) should be generated again, so CDNs can cache the old - and new version when there is a newer file available.

What is actually happening?

even if content of a fiel changes, the filename seems not to change (or not all parts at least).

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This bug report is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c7040">#c7040</a>)</em></sub></div>