LDAPMemCache is a type of structure representing an in-memory, client-side cache.
You can create a cache and specify the following information:
LDAP structure). Before a search request is sent to the server, the cache is checked to determine if the same request was made before. If an earlier request was cached, the search results are retrieved from the cache.
Note that the cache uses the search criteria as the key to cached items. Search requests with different criteria are cached as separate items.
For example, suppose you send a search request specifying that you just want to retrieve the uid attribute. Your client caches the results of that search. If you send a similar search request specifying that you want to retrieve all attributes instead of just the uid, the results cached from the previous search are not used.
the cache uses a combination of the following information as the key to a cached item:
LDAPMemCache structure, call the ldap_memcache_init() function. LDAPMemCache structure with a connection handle (an LDAP structure), call the ldap_memcache_set() function. LDAPMemCache structure that is associated with a connection handle (an LDAP structure), call the ldap_memcache_get() function. ldap_memcache_update() function. ldap_memcache_flush() function. LDAPMemCache structure, call the ldap_memcache_destroy() function. Last Updated: 10/01/98 17:05:28