desbouis / nginx-redis-proxy

Nginx as reverse proxy using redis as cache engine
105 stars 29 forks source link

TTL in headers #3

Closed desbouis closed 12 years ago

desbouis commented 12 years ago

For now, the TTL to keep object cached in redis is hard-coded. The TTL must be given by the backend in a special http header like 'X-rediscache-ttl'.