Skip to content

Commit e02e067

Browse files
committed
maxEntries cache config
1 parent d7b30a3 commit e02e067

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sw-custom.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ if ('function' === typeof importScripts) {
115115
plugins: [
116116
new workbox.expiration.ExpirationPlugin({
117117
maxAgeSeconds: 7 * 24 * 60 * 60, // 7 day safety net
118+
maxEntries: 15000,
118119
purgeOnQuotaError: true,
119120
}),
120121
{

0 commit comments

Comments
 (0)