Object expiration can be passed in using https://github.com/mranney/node_redis#commands-with-optional-and-keyword-arguments which makes it possible to just use .set instead of .setex.