from Hacker News

Now we have Image Cache uses IndexedDB

by tcper on 7/28/24, 4:42 AM with 1 comments

  • by tcper on 7/28/24, 4:42 AM

    IndexedDB do have ability to save blob data, don't see any package/lib using IndexedDB as the image cache.

    So I write it, and published.

    Pros:

    * No localStorage 5Mb size limit

    * Keep the cache as long as you want

    * Better for some expensive action cache (download/alogrithm calculated)