Types of
Web Storage
by Shivam Pandey
1. Session Storage
Session Storage allows data to be stored in
the browser that will be cleared when the
page session ends.
by Shivam Pandey
2. Local Storage
Local storage is a web storage API that
allows JavaScript sites and apps to store
key/value data in the browser with no
expiration date. The data persists even
when the browser is closed and reopened.
by Shivam Pandey
3. Cookies
Cookies are small bits of data stored in the
user's browser and sent back to the server
with each HTTP request. They were
originally designed to enable session state
and persistence
by Shivam Pandey
4. IndexedDB
IndexedDB is a low-level API for client-side
storing significant amounts of structured
data, including files/blobs. This API uses
indexes to enable high-performance
searches of this data.
by Shivam Pandey
FOLLOW ME
for more such
content
Did you find this
helpful?
Comment down
below
by Shivam Pandey