W3C の Web Storage の仕様を読む。 Web Storage とは Abstract には This specification defines an API for persistent data storage of key-value pair data in Web clients. とあるように、キーバリュー型データの永続的なストレージを提供する API。sessionStorage、localStorage を総称して Web Storage。ドキュメントのステータスは Recomendation なので、W3C の文章のステータスとしては最終段階だ。 Cookie との違い window を超えて一貫したデータにアクセスできる点が異なる。Cookie はリクエストごとに送受信される。ブラウザのウィンドウ (タブ) を複数開いている場合、あるウィンドウでのデータ操
![Web Storage の仕様を読む](https://cdn-ak-scissors.b.st-hatena.com/image/square/87bb59df23f4ab97a94294d3a89d9daa76699003/height=288;version=1;width=512/https%3A%2F%2Fplease-sleep.cou929.nu%2Fimages%2Fkosei-pic.png)