config: add ignored files for PWA caching
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
parent
618647f2ce
commit
7a790cb7ba
1 changed files with 3 additions and 0 deletions
|
|
@ -227,6 +227,9 @@ pwa_TTL_EXEMPT = '"js", "css", "otf", "eot", "ttf", "woff", "woff2", "mp4", "web
|
||||||
### If set to true then the entire site is cached. (useful for making an entire site usable while offline)
|
### If set to true then the entire site is cached. (useful for making an entire site usable while offline)
|
||||||
pwa_cache_all = true
|
pwa_cache_all = true
|
||||||
|
|
||||||
|
### Files to ignore for PWA caching
|
||||||
|
pwa_IGNORE_FILES = ["_headers","sw.min.js","sw.js"]
|
||||||
|
|
||||||
### List of Files for the PWA to initially Cache, used if pwa_cache_all = false
|
### List of Files for the PWA to initially Cache, used if pwa_cache_all = false
|
||||||
pwa_BASE_CACHE_FILES = "'/js/theme.min.js','/js/theme_light.min.js','/abridge.css','/js/abridge.min.js','/','/404.html','/offline/','/manifest.min.json'"
|
pwa_BASE_CACHE_FILES = "'/js/theme.min.js','/js/theme_light.min.js','/abridge.css','/js/abridge.min.js','/','/404.html','/offline/','/manifest.min.json'"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue