mirror of
https://github.com/discourse/discourse.git
synced 2025-02-24 15:55:25 +08:00

By default, the workbox-expiration plugin will not expire cache entries which include a `Vary` header in the response. This means that cached entries can build up until the browser storage quota is hit. This commit introduces the `ignoreVary: true` option, so that deletion is performed correctly. This will only apply going forward, so this commit also bumps the cache version and deletes the old caches. Ref https://github.com/GoogleChrome/workbox/issues/2206