mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-24 08:48:47 +01:00
Reduce storage usage
This commit is contained in:
parent
1f2dbb8e06
commit
8fdc430dd5
1 changed files with 2 additions and 2 deletions
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue