nextcloud/apps/dav/lib
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 Use \OCP\IContainer::injectFn to boot the DAV app 2020-07-03 14:37:53 +02:00
Avatars Update license headers for 19 2020-04-29 11:57:22 +02:00
BackgroundJob Update license headers for 19 2020-04-29 11:57:22 +02:00
CalDAV Merge pull request #18895 from nextcloud/bugfix/noid/fix_birthday_calendar_color 2020-07-06 13:20:55 +02:00
CardDAV Update system addressbook card only when there was a change based on a cached etag 2020-07-09 11:43:58 +02:00
Command Also always return in app commands 2020-06-26 15:12:11 +02:00
Comments Update license headers for 19 2020-04-29 11:57:22 +02:00
Connector Merge pull request #21074 from jvsalo/shared-lock-multi-release 2020-07-06 14:06:41 +02:00
Controller Update license headers for 19 2020-04-29 11:57:22 +02:00
DAV Update license headers for 19 2020-04-29 11:57:22 +02:00
Db Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Direct Translate the maintenance mode message in webdav 2020-05-06 18:11:54 +02:00
Exception Update license headers 2019-12-05 15:38:45 +01:00
Files Update license headers for 19 2020-04-29 11:57:22 +02:00
Migration Replace TYPE with TYPES 2020-06-30 23:46:22 +02:00
Provisioning/Apple Update license headers for 19 2020-04-29 11:57:22 +02:00
Settings Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
Storage Fix owner on publicownerwrapper 2020-05-01 10:50:26 +02:00
SystemTag Update license headers for 19 2020-04-29 11:57:22 +02:00
Traits Update license headers for 19 2020-04-29 11:57:22 +02:00
Upload Update license headers for 19 2020-04-29 11:57:22 +02:00
Capabilities.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
HookManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
RootCollection.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Server.php Allow for compression of the PROPFIND responses 2020-06-06 15:55:04 +02:00