Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manage an expiration date to cache data #10

Closed
desbouis opened this issue Feb 24, 2012 · 1 comment
Closed

Manage an expiration date to cache data #10

desbouis opened this issue Feb 24, 2012 · 1 comment
Assignees

Comments

@desbouis
Copy link
Owner

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.

@ghost ghost assigned desbouis Feb 24, 2012
@desbouis
Copy link
Owner Author

For now, I choose "X-RedisCache-expireat" as custom header name and the value is a timestamp.
For instance :
X-RedisCache-expireat: 1356994799

desbouis added a commit that referenced this issue Feb 26, 2012
… it's now possible to set an expiration datetime to a cached data.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant