diff --git a/src/utils/redisKeys.ts b/src/utils/redisKeys.ts index 7c9da12..927b9f7 100644 --- a/src/utils/redisKeys.ts +++ b/src/utils/redisKeys.ts @@ -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"); } \ No newline at end of file