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 5
Web Storage 2

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 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 Web platform ⓘ
linked to: Open 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 ⓘ
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 (7)

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 ⓘ
linked to: Web Storage API
Indexed Database API → competesWith → Web Storage API ⓘ
Chrome Web Platform features → includesAPI → Web Storage API ⓘ
Cookies API → relatedTo → Web Storage API ⓘ
web-platform-tests → tests → Web Storage ⓘ
linked to: Web Storage API