Skip to content

The blocklist cache is regenerated excessively #55

@jonasraoni

Description

@jonasraoni

The Blocklist.php has a _regenerateCache() method, which is called when a hash group (first 2 characters of the password hash) cannot be found.

Therefore if another user attempts to use the same non-catalogued hash group, the _regenerateCache() will be called again, and nothing will change.

The content of this cache is almost static, therefore it should be regenerated just on a first usage and when the user uploads/removes a blocklist.

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