Source code
Revision control
Copy as Markdown
Other Tools
self.onmessage = function(e) {
var cache_name = e.data.name;
self.caches.open(cache_name)
.then(function(cache) {
return Promise.all([
]);
})
.then(function() {
self.postMessage('ok');
});
};