mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 01:02:30 +01:00
More specific on what should be client cached
This commit is contained in:
parent
1f7156eb29
commit
acdbd3787b
1 changed files with 1 additions and 1 deletions
|
@ -69,5 +69,5 @@ export function userFeatureKey (userID: HashedUserID, feature: Feature): string
|
|||
}
|
||||
|
||||
export function shouldClientCacheKey(key: RedisCommandArgument): boolean {
|
||||
return (key as string).startsWith("segments.");
|
||||
return (key as string).startsWith("segments.") && !(key as string).includes("shadow");
|
||||
}
|
Loading…
Reference in a new issue