An Overview of Client-Side Storage, 2016
There are currently four active methods for storing data on the client side.
- Cookies (old school, still useful because they are sent with server requests)
- Local Storage (very easy to use)
- Session Storage (exactly the same, only clears when the tab is closed)
- IndexedDB (quite complex, quite powerful)