backendsystem-design
Version cache keys when the meaning of data changes
Anonymous
Adding a version to a cache key gives new reads a separate namespace when the data shape or meaning changes. Old entries can expire without being mistaken for the new format. The trade-off is temporary extra cache space while both versions exist.
0