Skip to content

Commit c8a6ab3

Browse files
committed
Fix cache invalidtation
1 parent fa77e2a commit c8a6ab3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

frontend/cache-handler.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ CacheHandler.onCreation(async () => {
7474

7575
return {
7676
handlers: [handler],
77+
ttl: {
78+
defaultStaleAge: 60 * 3,
79+
estimateExpireAge: (staleAge) => staleAge * 2,
80+
},
7781
};
7882
});
7983

0 commit comments

Comments
 (0)