Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jbilcke opened this issue Jan 9, 2023 · 0 comments
Open

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

jbilcke opened this issue Jan 9, 2023 · 0 comments

Comments

@jbilcke
Copy link
Owner

jbilcke commented Jan 9, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant