On Tue, Oct 28, 2008 at 5:18 PM, Ziba Scott <[EMAIL PROTECTED]> wrote:
> till wrote:
>> On Tue, Oct 28, 2008 at 3:57 PM, Michael Baierl <[EMAIL PROTECTED]> wrote:
>>
>> No, it's easier and less expensive to pull it once and so to speak
>> "cache" them in the source code/clientside and perform the
>> auto-complete without a server request. Otherwise it will be slower
>> and more expensive as you hit the database or your LDAP directory for
>> every key-event.
>>
>>
> I agree that populating the contacts upfront can be faster and less
> expensive for many or maybe most installations.  However, it isn't
> really an option for very large LDAP directories.  Some directories
> simply will not return a full listing of all users.

Point well taken. :-)

> In our environment, we have modified the autocomplete to do an ajax
> request because we wanted to provide our users with a list of their
> personal contacts combined with contacts pulled from a very large ldap
> system.  We have plenty of extra LDAP server muscle, so repeated queries
> aren't a concern (and we're doing caching in php as a part of our patch).

Do you want to provide your patch?

Till
_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to