Bump up max entries for icons

This commit is contained in:
Lim Chee Aun 2024-05-15 19:38:28 +08:00
parent bc4e3b0f72
commit d4a0a080b5

View file

@ -62,7 +62,7 @@ const iconsRoute = new Route(
cacheName: 'icons', cacheName: 'icons',
plugins: [ plugins: [
new ExpirationPlugin({ new ExpirationPlugin({
maxEntries: 50, maxEntries: 300,
maxAgeSeconds: 3 * 24 * 60 * 60, // 3 days maxAgeSeconds: 3 * 24 * 60 * 60, // 3 days
purgeOnQuotaError: true, purgeOnQuotaError: true,
}), }),