v0.5.0 - hamper-stallion
This is a minor release where a number of dependencies have been updated. New additions to the Basket.js API include skipCache
, which prevents storing scipts in cache. The feature can be useful when you want load scripts in order, but only cache some. Here's an example:
basket.require(
{ url: 'require.js' },
{ url: 'require.config.js', skipCache: true },
{ url: 'libs.js' }
);
In the above, multiple scripts will be requested and then cached however require.config.js
will not be cached in localStorage.
Special thanks go to @sindresorhus @itsuryev and @wibblymat for their help with this release.
For the complete changelog see: v0.4.0...v0.5.0
As per our last release, we continue to look forward to the ServiceWorker Cache API eventually being more useful for some of our use-cases. A very early Cache API polyfill was demonstrated working as part of the Polymer Topeka app at Google I/O and we look forward to exploring async solutions using IndexedDB as a backing store in the future.