2 ms·
Maybe, but I'd worry that they're only suggesting that because the appcache can be a pain to work with. localStorage is synchronous, and so putting huge amount
by kybernetikos 13y ago
Maybe, but I'd worry that they're only suggesting that because the appcache can be a pain to work with.
localStorage is synchronous, and so putting huge amounts of data in there can delay page load.
- pavel_lishin 13y agoAppCache is a pain to work with. Admittedly, when I was working on it, we were trying to wrangle it into something it really wasn't meant to do, but that fact - that it wasn't a good fit for our application - wasn't at all obvious until I finally started encountering all the "gotchas", and reading more about them.