precache the whoole thing
This commit is contained in:
parent
a120fc8181
commit
2e62afea7e
|
@ -154,9 +154,10 @@ pwa:
|
||||||
precache_recent_posts_num: 5 # Optional
|
precache_recent_posts_num: 5 # Optional
|
||||||
precache_glob_directory: / # Optional
|
precache_glob_directory: / # Optional
|
||||||
precache_glob_patterns: # Optional
|
precache_glob_patterns: # Optional
|
||||||
- "{js,css,fonts,albums}/**/*.{js,css,eot,svg,ttf,woff}"
|
- "assets/{js,css,fonts}/**/*.{js,css,eot,svg,ttf,woff,png,jpg,jpeg}"
|
||||||
- "*.{mp3,jpeg,mp4,webm}"
|
- "videos/*{mp4,webm}"
|
||||||
|
- "images/**/*.{jpg,png,jpeg}"
|
||||||
|
- "assets/albums/**/*.{mp3,jpeg}"
|
||||||
- index.html
|
- index.html
|
||||||
precache_glob_ignores: # Optional
|
precache_glob_ignores: # Optional
|
||||||
- sw-register.js
|
- sw-register.js
|
||||||
- "fonts/**/*"
|
|
Loading…
Reference in a new issue