curl-cache-bust is a curl.js shim that adds the ability to "bust the cache" during development.
Cache busting isn't something I think a module loader should normally do, yet people ask for it a lot), so I added the capability via this shim.
curl-cache-bust is installable via bower, if desired.
The simplest way to use curl-cache-bust is to include a second async script element in your page. This isn't the best performing option, and is not recommended for production:
You could also load the shim as a
preloads in your curl config:
You can also build your own curl.js with curl-cache-bust baked in. There
are instructions in curl.js's
dist folder for creating your own custom
curl.js. curl-cache-bust will work with the tools described therein.
To test the shim via buster.js, simply type the following from the root of the project:
npm install npm test
Pull requests accepted! Please see Contributing.