aboutsummaryrefslogtreecommitdiff
path: root/sw.js
blob: 0366293cf10f2eb6434eeb0d9d23ebe50d05ac01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
importScripts('cache-polyfill.js');

self.addEventListener('install', function(e) {

e.waitUntil(

caches.open('Navan Chauhan').then(function(cache) {

return cache.addAll([

'/',

'/index.html',

'/Contact.html',


'/404.html',


]);

})

);

});