How it works......

The HTML5 cache manifest is a file stored at the root of our application. This file describes all the files we want to be in the browser cache, with their expiration date.

This is a mechanism often used to cache resources as localStorage in order to load them faster, to reduce server load, and for offline applications.

The W3C recommend that we use the .appcache file extension to create a cache manifest file.

The HTML5 File API could be a good alternative to store images, videos, or text files, but it's only available on Firefox, Chrome, Safari, and Opera on Desktop.

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.