Caching with HTML5 localStorage and sessionStorage

In this recipe, we will learn how to use the HTML5 Storage API (it's also called Web Storage, or DOM Storage) with localStorage and sessionStorage objects, in order to store non-sensitive data on the client.

Get ASP.NET Core MVC 2.0 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.