We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8fc25df + ec1790e commit 52ec3ebCopy full SHA for 52ec3eb
src/lib/utils/data/cacheAsyncFn.ts
@@ -34,7 +34,8 @@ export function cacheAsyncFn<T>(
34
options?.cacheTimeout && cacheAge > options.cacheTimeout
35
36
if (!isCacheExpired) {
37
- console.log("Cache hit", key)
+ const quietKeys: string[] = ["gfissues"]
38
+ !quietKeys.includes(key) && console.log("Cache hit", key)
39
return cachedItem.value as T
40
}
41
console.log("Cache expired", key)
0 commit comments