dimanche 22 janvier 2017

Ember.js `?version=

In order to force updated static assets to load from a stubborn CDN, I'm looking for a method of adding a ?version=<customValue> to the end of each of my src="assets/... references in app/index.html.

Maybe in index.html:

<link rel="stylesheet" href="assets/vendor.css?version=">

And then somewhere else I might override a custom content-for value with a random number or a build tag.

Ideas? Thanks!




Aucun commentaire:

Enregistrer un commentaire