nextcloud/apps/dav/tests
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
..
benchmarks Set the file's mtime from the headers in bulk upload 2022-01-11 17:10:14 +01:00
integration enh(sharing): enable unsharing for sharees for DAV shares (addressbooks and calendars) 2024-02-15 18:01:12 +01:00
misc Addressbook sharing added based on a simplified approach which is based on calendar sharing standard 2015-11-19 11:34:31 +01:00
travis Enable litmus largefile tests 2023-09-20 11:45:38 +02:00
unit perf(dav): skip non-calendar requests in webcal caching plugin 2024-03-27 20:04:23 +01:00