Has anyone used localStorage successfully to store font files referenced by CSS? How can I implement this?
For images, I know I can binary encode the images in script and save into localStorage, but that would mean a very large script code. If the bloated script is loaded everytime, I don't see any real benefit. If the script is cached as a seperate file, it would be the same as caching the image file in the first place. Am I missing something or there really is no benefit is normal circumstance for localStoraging images.
Anyone successfully implemented localStoraging popular plugins from Facebook/Google/Twitter and willing to share which are the ones most useful/applicable for caching?
I have no idea what your browser support requirements are like.
This article talks about storing images in local storage. Of course it's insanely fast: http://www.sencha.com/learn/taking-sencha-touch-apps-offline/
As for fonts, well I'm looking at doing that myself. I'll let you know how it works out :)
Also, check out caniuse.com for browser support:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With