Skip to content

SQLiteStorage does not automatically clean() expired cached items #83

Description

@luke-keaweb

Nette Cache FileStorage runs clean() with a 0.001 probability - a sane and sensible default, works great.

However the other provided storage methods, such as SQLiteStorage and MemcachedStorage, do NOT automatically run clean(), instead relying on the developer to add their own mechanism to periodically delete expired entries.

This makes the behaviour of the different storage methods inconsistent.

In addition, the need for developers to add their own mechanism is not mentioned anywhere in the documentation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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