Skip to content

Setting TTL in Redis #27

Open
Open
@sddaniels

Description

@sddaniels

It looks like there's a TTL setting available for this plugin, but it's only used for internal calculations. There is no TTL passed to Redis, so each page is cached indefinitely. That seems to be why the allkeys-lru eviction policy is recommended.

With our current automation, we're not able to easily change this eviction strategy from the default, which does not evict any keys that do not have a TTL set. Is there any reason that this plugin couldn't optionally set the TTL in Redis?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions