Большая статья о том, как можно хранить данные в браузере, описываются способы, которые уже устарели, актуальные и те, которые еще только будут в браузерах.
TL;DR
- Variables
- DOM Storage
- Web Storage (localStorage and sessionStorage)
- IndexedDB
- Cache API
- Cookies
- File System Access API (new)
- File and Directory Entries API (new)
- window.name (old)
- WebSQL (old)
- AppCache (old)
Пишите еще, если вспомнили способы :) В прошлом были еще способы хранить данные, которые не указаны тут, например Flash.
🔗 https://blog.openreplay.com/the-ultimate-guide-to-browser-side-storage
#article #storage #browser
TL;DR
- Variables
- DOM Storage
- Web Storage (localStorage and sessionStorage)
- IndexedDB
- Cache API
- Cookies
- File System Access API (new)
- File and Directory Entries API (new)
- window.name (old)
- WebSQL (old)
- AppCache (old)
Пишите еще, если вспомнили способы :) В прошлом были еще способы хранить данные, которые не указаны тут, например Flash.
🔗 https://blog.openreplay.com/the-ultimate-guide-to-browser-side-storage
#article #storage #browser
Openreplay
The Ultimate Guide to Browser-Side Storage
Learn how many different ways are there to store data on the browser side and which ones you should avoid!