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

cache and redis #53

Open
ghost opened this issue Jan 24, 2017 · 0 comments
Open

cache and redis #53

ghost opened this issue Jan 24, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Jan 24, 2017

hey there,

i'm using requestify with the redis cache function. Im caching file.php?somekey=somevalue and my problem is now. The redis keys doesn't expire. The caching work great, but now i got alot of dead redis keys.

Something like:

            cache: {
                                cache: true,
                                expires: 60 * 1000,
                                remove: 60 * 60 * 1000
                            }

I mean we could just use redis.setex instead of redis.set

Maybe there is function like this already, but i didn't found it.

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

0 participants