diff --git a/CHANGELOG.md b/CHANGELOG.md index 380dffb4..6f3ada13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ### Fixed - (**General**) Fix saving large client data on the server (e.g., custom source filters) +- (**General**) Fix clearing service worker image caches - (**Library**) Fix total library size chip color in light mode - (**Browse**) Fix missing pinned sources in the source language filter - (**Browse**) Fix incorrectly showing "local source" source in the source language filter (the local source can't be disabled) diff --git a/vite.config.ts b/vite.config.ts index 13f17ad7..b41250a2 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -73,10 +73,16 @@ export default defineConfig(({ command }) => ({ maxAgeSeconds: d(1).days.inWholeSeconds, maxEntries: 2500, purgeOnQuotaError: true, + matchOptions: { + ignoreVary: true, + }, }, cacheableResponse: { statuses: [0, 200], }, + matchOptions: { + ignoreVary: true, + }, }, }, { @@ -93,10 +99,16 @@ export default defineConfig(({ command }) => ({ maxAgeSeconds: d(1).days.inWholeSeconds, maxEntries: 5000, purgeOnQuotaError: true, + matchOptions: { + ignoreVary: true, + }, }, cacheableResponse: { statuses: [0, 200], }, + matchOptions: { + ignoreVary: true, + }, }, }, { @@ -113,10 +125,16 @@ export default defineConfig(({ command }) => ({ maxAgeSeconds: d(365).days.inWholeSeconds, maxEntries: 300, purgeOnQuotaError: true, + matchOptions: { + ignoreVary: true, + }, }, cacheableResponse: { statuses: [0, 200], }, + matchOptions: { + ignoreVary: true, + }, }, }, { @@ -129,10 +147,16 @@ export default defineConfig(({ command }) => ({ maxAgeSeconds: d(4).days.inWholeSeconds, maxEntries: 500, purgeOnQuotaError: true, + matchOptions: { + ignoreVary: true, + }, }, cacheableResponse: { statuses: [0, 200], }, + matchOptions: { + ignoreVary: true, + }, }, }, ],