Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jacksteamdev/google-dev-storage-examples
https://github.com/jacksteamdev/google-dev-storage-examples
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jacksteamdev/google-dev-storage-examples
- Owner: jacksteamdev
- Created: 2022-09-11T15:12:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-11T15:32:58.000Z (over 2 years ago)
- Last Synced: 2024-10-24T22:44:29.089Z (2 months ago)
- Language: JavaScript
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Storage Usage Examples
## Session Storage
Session storage is an in-memory Chrome Storage Area. The values in session storage exist only in memory, they are never written to disk. When the Chrome extension starts a new session, the values in session storage get reset.
A new session starts when the browser restarts, when the extension is updated, and when the user disables and enables the extension.
Session storage is marginally faster than local storage, but has limited capacity. It can only hold 1MB of data. If speed or capacity is a concern, consider using IndexedDB.
Unlike other storage areas, session storage is not available to content scripts by default.