Skip to content

Commit a0f1066

Browse files
committed
Remove cache expiry
1 parent f89b58e commit a0f1066

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

client/webpack.config.js

-8
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ const privacyPolicyPlugin = new HtmlWebpackPlugin({
6464

6565
const blogPostPlugins = getBlogPostPlugins();
6666

67-
const oneWeekInSeconds = 60 * 60 * 24 * 7;
68-
6967
const workbox = new WorkboxPlugin.GenerateSW({
7068
clientsClaim: true,
7169
skipWaiting: true,
@@ -74,12 +72,6 @@ const workbox = new WorkboxPlugin.GenerateSW({
7472
{
7573
urlPattern: /.*/,
7674
handler: "StaleWhileRevalidate",
77-
options: {
78-
cacheName: "mandelbrot-cache",
79-
expiration: {
80-
maxAgeSeconds: oneWeekInSeconds,
81-
},
82-
},
8375
},
8476
],
8577
});

0 commit comments

Comments
 (0)