Chapter 38: HTML 5 Cache

Basic Example of HTML5 cache

this is our index.html file

<!DOCTYPE html>
<html manifest="index.appcache">

then we will create index.appcache file with below codes


write those files that you want to be cached load index.html then go for offline mode and reload the tab

Note: The two files must be in the same folder in this example

Pin It on Pinterest

Share This