You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lloydzhou
changed the title
[Feature Request] add new scheme: indexdb://{file_name} to read and write file in indexdb
[Feature Request] using CacheStorage to store image
Jul 15, 2024
lloydzhou
added a commit
to ConnectAI-E/ChatGPT-Next-Web
that referenced
this issue
Jul 19, 2024
🥰 Feature Description
#2393 #4574 #3994 #2433 #5002 #5015
using base64 string to save image content to localstorage, get error:
QuotaExceededError
add new scheme:indexdb://{file_name}
to read and write file in indexdb.using
CacheStorage
to store image🧐 Proposed Solution
add new scheme:indexdb://{file_name}
to read and write file in indexed dbusing CacheStorage to store image
serviceWorker
: save inCacheStorage
and return cache file urlimg
show image content, thenserviceWorker
get fromCacheStorage
📝 Additional Information
https://caniuse.com/?search=IndexedDB
https://caniuse.com/?search=cachestorage
The text was updated successfully, but these errors were encountered: