mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
Add optional negttl / negative result caching
This commit is contained in:
parent
4361a942ab
commit
8a7501449a
@ -74,9 +74,12 @@ set is associated with an integer from 0 to <numattrsets>-1. These indices are
|
||||
used by the \fBproxytemplate\fP directive to define cacheable templates.
|
||||
|
||||
.TP
|
||||
.B proxytemplate <template_string> <attrset_index> <ttl>
|
||||
.B proxytemplate <template_string> <attrset_index> <ttl> [<negttl>]
|
||||
Specifies a cacheable template and "time to live" (in sec) <ttl> of queries
|
||||
belonging to the template.
|
||||
belonging to the template. An optional <negttl> can be used to specify
|
||||
that negative results (i.e., queries that returned zero entries)
|
||||
should also be cached for the specified number of seconds. Negative
|
||||
results are not cached by default.
|
||||
|
||||
.TP
|
||||
.B response-callback { head | tail }
|
||||
|
Loading…
Reference in New Issue
Block a user