1
0
Fork 0

config: add ignored files for PWA caching

Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
Harald Hoyer 2026-01-21 13:59:21 +01:00
parent 618647f2ce
commit 7a790cb7ba

View file

@ -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'"