httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <>
Subject Re: Caching handles?
Date Sun, 19 Aug 2001 22:02:36 GMT
Sterling Hughes wrote:

>         I'm developing a module (httpd2.0) and I've come across a situation
>         where it would be great if I could "cache" an operation, by saving a
>         variable in memory, and keep it there throughout requests, ie:

Take a look inside the code inside httpd-2.0/modules/ldap/util_ldap.c -
an operation shared memory cache is used there to cache LDAP queries -
it should give you an example to get you on the right track.

-----------------------------------------		"There's a moon
					over Bourbon Street
View raw message