On Thu, 17 Jun 2010 00:43:55 +0200 Graham Leggett <[email protected]> wrote:
> mod_socache all the way. Question on mod_socache usage: how to use create/init/destroy? Create seems straightforward, but init/destroy are contradictory. On the one hand, they are passed a server_rec, suggesting they're per-server. On the other hand, the instance comes from "create", and the cname argument suggests it should be per-module. Grepping /trunk/ finds only the providers, no usage examples! Looking at one of the providers, the server_rec seems only to be used in ap_log_error. Is it safe to assume the server_rec won't be used for anything more? And why not take the apparent mismatch out of the API by using ap_log_perror instead? -- Nick Kew
