I just published “Choo, architecture & performance”https://medium.com/p/choo-architecture-performance-f6f0c44e8a6a …
ohey, no I didn't know about the second one - the first one: localStorage is actually faster than IndexedDB, despite being synchronous
-
-
Thanks for pointing it out tho; the more you know haha. Wouldn't recommend running nanologger in prod, instead use a reporting tool instead
-
yeah,Safari is just throwing QuotaExceededError when trying to set any value in private mode :-/ Which is sad, not how it's supposed to work
- 3 more replies
New conversation -
-
-
oh, sure, what I meant is that how much it slows down compared to not using local storage at all (e.g. window.__nanologgerLevel)
-
localstorage is meant for development; that way you can set a loglevel while debugging and keep refreshing. Figured it'd be a good flow (:
- 4 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.