Skip to content

Commit 3e43fdd

Browse files
authored
Store the cached content for 6 months (#4372)
1 parent 43df723 commit 3e43fdd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frontend/cache-handler.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ CacheHandler.onCreation(async () => {
7676
handlers: [handler],
7777
ttl: {
7878
defaultStaleAge: 60 * 3,
79-
estimateExpireAge: (staleAge) => staleAge * 2,
79+
// Store the cache for 6 months.
80+
estimateExpireAge: (staleAge) => staleAge + 15768000,
8081
},
8182
};
8283
});

0 commit comments

Comments
 (0)