From 7a790cb7ba03bfc944575e174c36cd85e51224f4 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Wed, 21 Jan 2026 13:59:21 +0100 Subject: [PATCH] config: add ignored files for PWA caching Signed-off-by: Harald Hoyer --- config.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.toml b/config.toml index 21054eb..0f786a8 100644 --- a/config.toml +++ b/config.toml @@ -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) 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 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'"