basket.js – a simple script loader that caches scripts with localStorage.
Addy Osmani has done it again. I can’t help but see his name attached to something new and crazy every week it seems.
This time he’s published a proof of concept called basket.js. The purpose of the implementation is quite simple: it’s a script loader that caches your JavaScript via localStorage.
Through reading the article it seems like huge entities like Bing and Google have been experimenting with this for some time which is super interesting to me.
This is another one of those ‘why didn’t I think of that?’ ideas, but beyond that it’s a reality check to me that I should be keeping a closer eye on what some of the smartest minds of our industry are actually putting into production right under my nose.