backendsystem-design
What should a cache key include?
Anonymous
Include every input that can change the response, such as tenant, locale, permissions, and normalized query parameters. Leave one out and unrelated requests can share an entry. Keep key construction deterministic so equivalent requests map to the same key.
0