nextcloud/apps/dav/lib/CalDAV/WebcalCaching
Daniel Kesselberg 4bdb473aae
perf(dav): skip non-calendar requests in webcal caching plugin
The webcal caching plugin is active when the X-NC-CalDAV-Webcal-Caching header is there.

findPrincipalByUrl sends a request for /remote.php/dav/principals/users/admin/ using the caldavService which sets the header by default.[^1]

As X-NC-CalDAV-Webcal-Caching only impacts calendar requests, we can skip non-calendar requests.

[^1]: b3670f1805/src/services/caldavService.js (L43)

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-03-27 20:04:23 +01:00
..
Plugin.php perf(dav): skip non-calendar requests in webcal caching plugin 2024-03-27 20:04:23 +01:00
RefreshWebcalService.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +01:00