1
0
mirror of https://github.com/immich-app/immich.git synced 2025-07-14 07:04:24 +02:00

feat: service worker cache static app resources, and all entry points (#18043)

* feat: service worker cache static app resources, and all entry points

* review comments

* review

* lint

* minor tweaks

* review comments

* optimize disabled cache

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
Min Idzelis
2025-06-12 19:33:29 -04:00
committed by GitHub
parent 8923d5b0a3
commit ed5b260eeb
5 changed files with 180 additions and 75 deletions

View File

@ -14,6 +14,9 @@ const config = {
},
preprocess: vitePreprocess(),
kit: {
paths: {
relative: false,
},
adapter: adapter({
fallback: 'index.html',
precompress: true,