node-red-contrib-uibuilder
Version:
Easily create data-driven web UI's for Node-RED. Single- & Multi-page. Multiple UI's. Work with existing web development workflows or mix and match with no-code/low-code features.
10 lines (7 loc) • 324 B
JavaScript
// https://yonatankra.com/how-service-workers-sped-up-our-website-by-97-5/
https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers
self.VERSION = 'SW_VERSION'
self.addEventListener('activate', (event) => {
console.log('sw active', event)
// event.waitUntil(enableNavigationPreload())
})