I am using node.js with https://github.com/visionmedia/connect-redis to store session variables in redis.
I ran redis-cli monitor
and noticed that on a single page load, there are 3 sets of get
and setex
commands being executed. The 3 sets come from the 3 http requests made on my page load (favicon.ico
, /
, and index.css
).
My question: Is it normal for a redis get
and setex
to run on every http request? Each pair contains identical data.