Skip to content

cache and redis #53

@ghost

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions