News for hackers. Stuff that matters.
Re:Ask HN: Should I store my js/css bundles on localStorage ... by tantalor on Thursday June 02, 2016 @02:14PM (#11824780)
Check out service workers, they are designed to solve this problem,

https://developer.mozilla.org/en-US/docs/Web/API/Service_Wor...

In addition to caching JS/CSS, you can also cache your main document so your app can work offline.

Re:Ask HN: Should I store my js/css bundles on localStorage ... by willstepp on Thursday June 02, 2016 @06:57PM (#11826834)
Are you familiar with HTTP cache headers? Better to focus on your application and let the browser think about that stuff, if possible.