A script and resource loader for caching & loading files with localStorage
Filed under miscellaneousShow All
Basket.js is a script and resource loader for caching and loading scripts using localStorage
##Introduction for the Non-Developer
Basket.js loads your site's scripts into a page and saves them in localStorage so they can be reused after the session until they are expired. It also checks to see if the scripts are already in localStorage, and if not, loads them. This prevents unneccessary reloading of scripts and can improve load time and website performance.
- basket.js caches scripts with HTML5 localStorage
- Basket.js for improved script caching
- How to Improve Loading Time with basket.js
We are also attempting to get as much unit test coverage as possible. For this reason, please add unit tests for any new or changed functionality and remember to lint and test your code using grunt.
Also, please don't edit files in the "dist" subdirectory as they are generated via grunt. You'll find source code in the "lib" subdirectory!
$ npm install & bower install
in the project root to get everything you need. Next, to actually build the project you will need Grunt.
$ grunt release
to generate a new release, otherwise just running
grunt testwill run the unit tests.
Addy Osmani Sindre Sorhus Andrée Hansson Mat Scales
MIT © Basket.js team