Test/Prod app servers use the same Redis cache. Our existing key names (e.g. bills) introduce a possibility that caching any environment-specific values could lead to a collision. We might consider disambiguating cache keys with a postfix that indicates the environment e.g. bills:prod / bills:test. The process that invalidates the cache can search for any key starting with e.g. bills and invalidate them when appropriate.
Test/Prod app servers use the same Redis cache. Our existing key names (e.g.
bills
) introduce a possibility that caching any environment-specific values could lead to a collision. We might consider disambiguating cache keys with a postfix that indicates the environment e.g.bills:prod
/bills:test
. The process that invalidates the cache can search for any key starting with e.g.bills
and invalidate them when appropriate.