Closed desbouis closed 12 years ago
With the header "X-RedisCache-ttl", the backend can set a ttl to cache data in redis. It would be cool for the backend to set an exipration date in redis with an other custom header, "X-RedisCache-expireat" or "X-RedisCache-endtime" for instance.
For now, I choose "X-RedisCache-expireat" as custom header name and the value is a timestamp. For instance : X-RedisCache-expireat: 1356994799
With the header "X-RedisCache-ttl", the backend can set a ttl to cache data in redis. It would be cool for the backend to set an exipration date in redis with an other custom header, "X-RedisCache-expireat" or "X-RedisCache-endtime" for instance.