skip to Main Content

I am using the stackexchange redis.extension.core 5.5
I have used such syntax

 _redisCacheClient.Db0.Get<T>(key);

Please let me know if you know something.

2

Answers


  1. Redis TTL command will return number of seconds left for the key to be expired. I’m not aware of stackexchange API but it should allow you to run this command. Check the API for TTL command.

    Login or Signup to reply.
  2. Believe you can use KeyTimeToLive. See the implementation here.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search