importScripts('/importme.mjs');

const CACHE_NAME = 'ROOT_CACHE';

async function cacheAllThings() {
    const cache = await caches.open(CACHE_NAME);
    cache.addAll([
        './index.html',
        './app.js',
        './app.css',
    ]);
}

self.addEventListener('install', async (event) => {
    consoleTheLogs('ROOT DONE', event);
    event.waitUntil(cacheAllThings());
});

self.addEventListener('fetch', (event) => {

    if ('storage' in navigator && 'estimate' in navigator.storage) {
        navigator.storage.estimate()
             .then(function(estimate){
                consoleTheLogs(`Using ${estimate.usage} out of ${estimate.quota} bytes.`);
             });
    }

    event.respondWith(
        fetch(event.request)
            .then(response => {
                consoleTheLogs('sw-root fetch interception');
                return response;
            })
    )
});
importScripts('/importme.mjs');

const CACHE_NAME = 'ROOT_CACHE';

async function cacheAllThings() {
    const cache = await caches.open(CACHE_NAME);
    cache.addAll([
        './index.html',
        './app.js',
        './app.css',
    ]);
}



self.addEventListener('install', async (event) => {
    consoleTheLogs('ROOT DONE', event);
    event.waitUntil(cacheAllThings());
});

self.addEventListener('fetch', (event) => {

    if ('storage' in navigator && 'estimate' in navigator.storage) {
        navigator.storage.estimate()
             .then(function(estimate){
                consoleTheLogs(`Using ${estimate.usage} out of ${estimate.quota} bytes.`);
             });
    }

    event.respondWith(
        fetch(event.request)
            .then(response => {
                consoleTheLogs('sw-root fetch interception');
                return response;
            })
    )
});
--- 
+++ 
@@ -10,6 +10,8 @@
         './app.css',
     ]);
 }
+
+
 
 self.addEventListener('install', async (event) => {
     consoleTheLogs('ROOT DONE', event);
Update again to cause purge hopefully
