Set optional ttl on redis

Allows us to create a ttl on all redis cache items