Web Storage API

E242839

The Web Storage API is a web platform feature that allows websites to store key-value data in a user's browser more persistently and securely than traditional cookies, typically via localStorage and sessionStorage.

All labels observed (2)

Label Occurrences
Web Storage API canonical 4
Web Storage 1

How this entity was disambiguated

Statements (49)

Predicate Object
instanceOf Web API
browser storage technology
advantageOverCookies larger storage capacity
no automatic transmission with every HTTP request
per-origin storage separation
simpler key-value access model
canBeClearedBy user clearing site data
canBeDisabledBy browser privacy settings
comparedTo HTTP cookies
dataType string values
definedInSpecification W3C Web Application technologies
surface form: W3C Web Storage specification
designGoal provide more persistent storage than session cookies
simplify client-side storage compared to cookies
eventTriggeredWhen storage area changes in another document of the same origin
eventType storage event
exposedIn Window interface
WorkerGlobalScope in some environments
introducedApprox late 2000s
keyType string keys
limitation storage quota limits per origin
synchronous access model
methodProvided clear
getItem
key
removeItem
setItem
partOf Open Web Platform
surface form: Web platform
persistenceBehavior localStorage persists across browser sessions
sessionStorage is cleared when the browsing session ends
primaryUse client-side data storage
state persistence in web applications
propertyProvided length
providesInterface localStorage
sessionStorage
relatedConcept Cache Storage API
Cookies API
Indexed Database API
surface form: IndexedDB API
scope per-origin
securityProperty not directly sent over the network
restricted to same-origin access
standardizedBy World Wide Web Consortium
storageModel key-value pairs
supportedBy modern desktop browsers
modern mobile browsers
supportsPersistenceType per-session storage via sessionStorage
persistent storage via localStorage
usedFor caching non-sensitive application data
maintaining simple client-side state
remembering user preferences

How these facts were elicited

Referenced by (5)

Full triples — surface form annotated when it differs from this entity's canonical label.

Storage Standard definesAPIFor Web Storage API
Web APIs example Web Storage API
Open Web Platform hasComponent Web Storage API
this entity surface form: Web Storage
Indexed Database API competesWith Web Storage API
Chrome Web Platform features includesAPI Web Storage API