FeatureFuel
1

Implement batched property fetching API for DAV plugins to optimize propfind performance

Source: nextcloud/server#54115 · opened by @salmart-dev
Description

Fetching property values one file at a time during PROPFIND is inefficient for properties requiring database or external queries. To address this, provide an API and plugin mechanism that enables property handlers to retrieve property values for nodes in a folder in a single, batched query during a PROPFIND.

What to implement

Extend the property retrieval mechanism so that plugins/property handlers can register a collection preload handler, which receives a collection to preload its children for the subsequent PROPFINDs.

Ensure the new API is opt-in and backwards compatible with existing per-node property handlers.

Goal

Reduce the number of database queries during PROPFIND requests, especially in large directories, leading to significant performance improvements in the DAV stack.

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests