More specific on what should be client cached

This commit is contained in:
Ajay 2024-02-08 01:04:48 -05:00
parent 1f7156eb29
commit acdbd3787b

View file

@ -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");
}