2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

Pre-cache key assets with Workboxjs. (#23533)

This commit is contained in:
Michael
2017-09-15 11:37:34 +01:00
committed by XhmikosR
parent f5368ae008
commit 5951508898
6 changed files with 2186 additions and 284 deletions
+4 -1
View File
@@ -1 +1,4 @@
// empty for now
self.importScripts('/assets/js/vendor/{fileName}')
const workboxSW = new self.WorkboxSW()
workboxSW.precache([])