latent-browser icon indicating copy to clipboard operation
latent-browser copied to clipboard

Use a new storage system for content (favorites, images)

Open jbilcke opened this issue 2 years ago • 0 comments

Right now we use the local storage but it has limitations: about 5 Mb (some say 10 Mb)

which prevents us from storing images in it (such as the images deleted by OpenAI after generation)

One quick solution (until we can replace everything with a real API + database) is to use the IndexedDB:

https://www.raymondcamden.com/2015/04/17/indexeddb-and-limits

jbilcke avatar Jan 09 '23 19:01 jbilcke