nextcloud/apps/dav/lib/CardDAV
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
..
Integration Rename app-generated to z-app-generated, because macOS Contacts supports only one and will pick the first one alphabetically 2020-05-07 16:48:32 +02:00
Xml Update license headers for 19 2020-04-29 11:57:22 +02:00
AddressBook.php Update license headers for 19 2020-04-29 11:57:22 +02:00
AddressBookImpl.php Update license headers for 19 2020-04-29 11:57:22 +02:00
AddressBookRoot.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00
CardDavBackend.php Update system addressbook card only when there was a change based on a cached etag 2020-07-09 11:43:58 +02:00
ContactsManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Converter.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
HasPhotoPlugin.php Update license headers for 19 2020-04-29 11:57:22 +02:00
ImageExportPlugin.php Update license headers for 19 2020-04-29 11:57:22 +02:00
MultiGetExportPlugin.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
PhotoCache.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Plugin.php Update license headers for 19 2020-04-29 11:57:22 +02:00
SyncService.php Update license headers for 19 2020-04-29 11:57:22 +02:00
SystemAddressbook.php Update license headers for 19 2020-04-29 11:57:22 +02:00
UserAddressBooks.php Add visibility to all methods and position of static keyword 2020-04-10 16:51:06 +02:00