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
While having a LRU cache is a great idea, the most important queries are running permamently. Events generated by these queries need to be stored in localStorage even if they are not recent.
A simple API is RelayPool::store(evvent), Event::store(), and store(cb: OnEvent) : OnEvent .
localStorage should at least be updated before closing the window, but also probably a few second delay of debounce is probably good.
The text was updated successfully, but these errors were encountered:
Alternative storage is indexedb, maybe 2 entries are enough: 1 for hinted storage, other for LRU (though LRU can store 50MB, doesn't need to be super small, and can load slower, it's not a problem).
While having a LRU cache is a great idea, the most important queries are running permamently. Events generated by these queries need to be stored in localStorage even if they are not recent.
A simple API is RelayPool::store(evvent), Event::store(), and store(cb: OnEvent) : OnEvent .
localStorage should at least be updated before closing the window, but also probably a few second delay of debounce is probably good.
The text was updated successfully, but these errors were encountered: