Reduce storage usage

pull/74/head
Lim Chee Aun 2023-02-25 10:31:50 +08:00
rodzic 1f2dbb8e06
commit 8fdc430dd5
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -21,8 +21,8 @@ const imageRoute = new Route(
cacheName: 'remote-images',
plugins: [
new ExpirationPlugin({
maxEntries: 100,
maxAgeSeconds: 7 * 24 * 60 * 60, // 7 days
maxEntries: 50,
maxAgeSeconds: 3 * 24 * 60 * 60, // 3 days
purgeOnQuotaError: true,
}),
new CacheableResponsePlugin({