ando@OpenLDAP.org wrote:
provide an interface to remove a set of entries from the cache
The rationale behind this is that, for bandwidth occupation issues, we
need to cache frequent proxied searches that retrieve very large
objects. For this reason, we want relatively long TTL, but we also need
to be very tight on updates on the remote server. For this purpose, I'm
designing a layer based on the ldap_sync API (RFC 4533) that performs a
persistent search looking for changes on the modifyTimestamp of the
sensitive objects (small data that always gets modified, to be
conservative) and, in case, removes those objects from the cache in a
consistent manner. If this feature works as intended, and is considered
useful, I can commit it (maybe it could become an integral part of
pcache...).