Add geenrated resources to be pre-cached by service worker

This commit is contained in:
Alex Shpak
2025-09-21 19:53:13 +02:00
parent c8238fd893
commit d08e17457f
6 changed files with 19 additions and 10 deletions
+2 -1
View File
@@ -124,7 +124,8 @@ params:
# /!\ This is an experimental feature, might be removed or changed at any time
# (Optional, experimental, default false) Enables service worker that caches visited pages and resources for offline use.
BookServiceWorker: true
# can be false, true or 'precache', precache will try to download all content pages on install.
BookServiceWorker: 'precache'
# /!\ This is an experimental feature, might be removed or changed at any time
# (Optional, experimental, default false) Enables a drop-down menu for translations only if a translation is present.