diff --git a/html/sw.js b/html/sw.js index 5edc0e3..8e535d6 100644 --- a/html/sw.js +++ b/html/sw.js @@ -30,15 +30,6 @@ self.addEventListener('fetch', function (evt) { })); }); -function precache() { - return caches.open(CACHE).then(function (cache) { - return cache.addAll([ - './controlled.html', - './asset' - ]); - }); -} - function fromNetwork(request, timeout) { return new Promise(function (fulfill, reject) { var timeoutId = setTimeout(reject, timeout);