nextcloud/apps/dav
Morris Jobke aab646a9d0
Update system addressbook card only when there was a change based on a cached etag
Due to our old and new hook system the card dav backend listens to old and new hooks. This triggers this code multiple times and always causes an update. With this change we cache the etag during a request and only trigger the update if the etag has changed. This does not catches all not needed updates, but it does not need another round trip to the database and still covers most cases where multiple attributes are updated during one single request.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-09 11:43:58 +02:00
..
appinfo Move DAV to the new bootstrap mechanism 2020-06-19 15:10:20 +02:00
bin Update license headers for 19 2020-04-29 11:57:22 +02:00
composer Allow for compression of the PROPFIND responses 2020-06-06 15:55:04 +02:00
css Include accept / decline links in CalDAV invitation emails 2018-06-29 10:44:44 +02:00
js Make push notifications for calendar reminders opt-in 2019-09-02 15:18:43 +02:00
l10n [tx-robot] updated from transifex 2020-06-20 02:16:35 +00:00
lib Update system addressbook card only when there was a change based on a cached etag 2020-07-09 11:43:58 +02:00
templates Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
tests Update system addressbook card only when there was a change based on a cached etag 2020-07-09 11:43:58 +02:00
.gitignore Introducing CardDAV into core 2015-11-06 15:26:51 +01:00