GNOME Bugzilla – Bug 682706
WebDAV addressbook lookup very slow
Last modified: 2012-09-11 14:01:21 UTC
I am using a CardDAV remote addressbook hosted by fruux.com, but the caching of the addressbook appears not to be working, or is not completely implemented. The result is that when using the addressbook, time-lags of 20 seconds or more occr very frequently. I first reported this bug at Launchpad, see here: https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/1032892 Is something missing in the caching of CardDAV addressbooks? Surely the cache should be hit in the first instance, and the updating/querying should be done in a separate thread?
Retesting with 3.4 is welcome as 3.2 is rather old nowadays.
I can confirm this bug report, based on the code reading. If the backend is in online mode, then it checks for changes first, and only after that returns contacts based on the downloaded changes, if any. It can/should do as you suggested.
Created attachment 222628 [details] [review] eds patch for evolution-data-server; This makes the lookup responses quicker, it returns cached contacts first, then tries to "validate" output against the server (synchronizes local cache with the server).
Created commit eeb2311 in eds master (3.5.91+)
*** Bug 683649 has been marked as a duplicate of this bug. ***