Skip to content

Approval state should be fetch in batch in dav plugin #370

@icewind1991

Description

@icewind1991

The ApprovalPlugin currently fetches the state for each file in a dav response one-by-one, leading to N queries for N files.

Ideally this would use the new preloadCollection event to fetch the relevant data for an entire directory at once, cache it, and then use the cached data for the propFinds.

See for example the TagsPlugin for how to preload tags.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions