Storing data directly within the browser has a lot of benefits, the main one being quick and network-independent access to a "database". There are currently four active methods (plus one deprecated), for storing data on the client side - Cookies Local Storage Session Storage IndexedDB WebSQL (deprecated) Cookies # Cookies are the classic way of storing simple string data within a document. Typical
![An Overview of Client-Side Storage | bitsofcode](https://cdn-ak-scissors.b.st-hatena.com/image/square/151f1367616e855ad4a72292801c2b693523409a/height=288;version=1;width=512/https%3A%2F%2Fbitsofco.de%2Fassets%2Ficons%2Ficon_128.png%3Fv%3D12d612cf3d)