top | item 32742579

(no title)

matips | 3 years ago

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.

discuss

order

mazlix|3 years 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|3 years ago

That's why we have localStorage.

jefftk|3 years ago

Local storage is also cleared on the same schedule, or else it could be used as a substitute for cookies.