Skip to content
RED SAGSkills
hard20 pts · first answer countshash-mapcachingsystem-design

Same request, two cache entries

An API response cache uses the raw query string as the key. Requests ?city=dubai&page=2 and ?page=2&city=dubai miss each other. What is the fix?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions