precache the whoole thing

This commit is contained in:
sakrecoer 2020-08-05 18:26:11 +02:00
parent a120fc8181
commit 2e62afea7e

View file

@ -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/**/*"