a tool for shared writing and social publishing

add some more logging to service worker

+3
+3
public/worker.js
··· 7 7 .match(event.request) 8 8 .then((response) => { 9 9 if (response) { 10 + console.log("cache match"); 10 11 return response; 11 12 } 13 + console.log("cache miss"); 12 14 return fetch(event.request.clone()); 13 15 }) 14 16 .catch((error) => { 17 + console.log(error); 15 18 throw error; 16 19 }); 17 20 }),