Modern web applications are becoming increasingly powerful, blurring the line between websites and native desktop or mobile applications.

A huge part of this power comes from the ability to save data directly in the user’s browser.

Web browser provide us with many tools for persistent data storage like cookies, localStorage, sessionStorage, and IndexedDB.

There are some modern alternatives as well like the Cache API and CookieStore API which are better than legacy options like localStorage as they are asynchronous and can work with service workers.

Many of these options like IndexedDB and Cache API allow a developer to implement storage of things much more complex than simple key-value string pairs. This in turn creates offline functionality, faster load times, and…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help