Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
WIP [skip ci]
Signed-off-by: Salvatore Martire <[email protected]>
  • Loading branch information
salmart-dev committed Aug 14, 2025
commit 4a99410f0581d68a339275cd360bd973708f2cea
25 changes: 25 additions & 0 deletions developer_manual/app_development/dav_properties.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
====
Apps DAV Properties
====

Add description of what DAV properties are and link SabreDAV.

Registering a DAV plugin
--------

Adding/registering a new property
--------

Preloading properties for better performance
--------

When properties are listed for files, your plugin will need to load the property from the storage and return it. This
becomes quickly an issue for directories with many files as the plugin may issue one or more queries per file and reduce
Nextcloud's performance. To avoid this, a convenience event `preloadCollection` is emitted by the DAV server for
nodes of type collection, whenever properties are being loaded for all files inside a collection.

Following the example above to register a DAV plugin, you can do the same to register the same plugin to preload the
data your application needs.

# TODO add example snippet