Skip to content

Does Dexie support any in-memory data storage or caching? #1650

Answered by dfahlander
tomkennedy22 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! Thanks for sharing your thoughts!

Dexie 4 is planned for start using caching for non-transactional readonly queries. I've written a few words about it on the road map page. Having dexie being backed by in-memory data only is also a valid use case for testing etc. Today this can be accomplished using fake-indexeddb but it would probably be nice if it was built-in, or if there would be possible to do an addon for it, such a a memory-backed DBCore (would be possible to implement already, but it's not possible to replace the database opening / upgrading parts yet).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tomkennedy22
Comment options

Answer selected by tomkennedy22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants