Version your cache keys to survive rolling deployments
medium.com
medium.com
The solution: automatically derive version identifiers from model structure at startup, prefix cache keys with them. Schema changes naturally map to new cache namespaces.
Happy to discuss tradeoffs or alternative approaches!