Not to long ago it would be unheard off to not store your information in a database on some remote server away from the client. Today though, terms such as JAMstacks, Serverless, and Pre-Fetched websites are popping up left and right. I thought it would be interesting to take a look at all the different ways to store data and its persistence in a typical server/browser architecture.

sessionStorage

Values only persist as long as the window or tab is open.

Cleared when the browser session ends or when you close the browser/tab.

Information is much more publicly accessible and is limited to the current browser session, only. No other client, nor tab/window can access this data. …

About

Antoine Nauleau

Full Stack Engineer who enjoys looking a little deeper than he probably should. @chainlinks

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store