Open brittanydionigi opened 9 years ago
It may be that the best way is to just not use versioned assets as ServiceWorkers should allow us to do this ourselves. Ember CLI allows us to disable the fingerprinting.
It doesn't solve the ServiceWorker issue of dealing with fingerprinting, but that is out of scope for the app.
For the near future...
Build steps fingerprint many of the assets we'll want to cache with service workers. With the constant filename changes, we'll want to find a way to signify to the SW cache that these fingerprinted assets are related - nothing in the spec supports 'tagging' or indicating a related resource. Though the thought was entertained for a bit a while back https://github.com/slightlyoff/ServiceWorker/issues/657