nextcloud/apps/dav/tests/unit/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
..
Sharing Update license headers for 19 2020-04-29 11:57:22 +02:00
AddressBookImplTest.php Update license headers for 19 2020-04-29 11:57:22 +02:00
AddressBookTest.php Update license headers for 19 2020-04-29 11:57:22 +02:00
BirthdayServiceTest.php Fix unit tests from #18895 2020-07-06 13:32:42 +02:00
CardDavBackendTest.php Update system addressbook card only when there was a change based on a cached etag 2020-07-09 11:43:58 +02:00
ContactsManagerTest.php Update license headers for 19 2020-04-29 11:57:22 +02:00
ConverterTest.php Format code according to PSR2 2020-04-10 16:56:50 +02:00
ImageExportPluginTest.php Update license headers for 19 2020-04-29 11:57:22 +02:00
SyncServiceTest.php Update license headers for 19 2020-04-29 11:57:22 +02:00