Xenonth's avatar

How to implement proper redis caching to queries?

Given I have a hotel listing page. And i'm listing 15 hotels in a single page (using pagination).

How should I approach caching with the given scenario?

Also, how should I handle cache invalidation when a new hotel is added or modified?

0 likes
1 reply

Please or to participate in this conversation.