a) It fallbacks to localStorage is indexedDB is unavailable. That should solve some of the edge cases we have.
b) Caching time has been increased to 30 days vs 24 hours. Icons don't really change a lot, so high caching time makes sense. I have also added a method, SVGLoader.destroyCache() to delete all cached files.
There are two major changes in this release:
a) It fallbacks to localStorage is indexedDB is unavailable. That should solve some of the edge cases we have. b) Caching time has been increased to 30 days vs 24 hours. Icons don't really change a lot, so high caching time makes sense. I have also added a method,
SVGLoader.destroyCache()
to delete all cached files.