What I need is to add expire time for specific keys. Currently cacheout provides api "set" to create new entry or update existing entry. So a simple way is:
v = cache.get(k, None)
if v is not None:
cache.set(k, v, ttl=100)
else:
raise KeyError(k)
Will you consider to provide apis like "expire" in Redis to update expire time directly?