looking for an elegant solution for forcing cache buster.
Right now,I get troubles when bundled files (main.js, vendor.js & co) get an upates.
One simple solution may be be to enable:
- on build, versioning of file, i.e. appending a unique string to filenames, e.g. main.9d20886f478d1f484d41ec3d3f7119d5.js
- changing reference in index.html file
but seems however that there may be issues while lazy loading
I know that some other frameworks have plugins that enable this (.e.g Laravel mix versioning [3:14]
Anything existing, any thought ?