Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
matips
· 4y ago · 0 comments
Sometimes cookies are used as they were designed - to store data in browser. For example 5etools-mirror-1.github.io. App without cloud storage or user account system. It stores your shortcuts in YOUR cookies, not in the server's DB.
Comments
[–]
mazlix
4y ago
That would mean you are sending your shortcuts to the server on every request, localStorage would be much better in that case to save bandwidth.
[–]
ris58h
4y ago
That's why we have localStorage.
[–]
jefftk
4y ago
Local storage is also cleared on the same schedule, or else it could be used as a substitute for cookies.