I am working on a personal project.
I have a web SQL-based application and I like to cache the result using Redis.
When a user execute a sql for the first time the data will be fetched from persistent store and then the results should be cached in Redis.
When the same query is executed again the results should be fetched from redis cache rather than db.