Re: Adding caching to ldapd

Tim Howes (tim@umich.edu)
Thu, 13 Jul 1995 13:07:28 -0400

> From: John Gardiner Myers <jgm+@cmu.edu>
> To: ldap@umich.edu

> "Tim Howes" <tim@umich.edu> writes:
> > No, there's no technical reason.
>
> What about the issue of stale data? How long can a caching LDAP agent
> legitimately keep data in its cache?

There's nothing in X.500 or LDAP that says how long something is good for.
No ttl or anything like that, so the caching LDAP agent can implement
whatever policy it wants. What might be good would be if somebody were
to define a new object class, something like cacheObject with an attribute
of timeToLive or ttl or something. The LDAP server (or library) could
always ask for this attribute if caching was turned on, and could base
its caching decisions on the value returned. -- Tim