On Wed, Jun 17, 2015 at 6:50 PM, Helmut K. C. Tessarek <tessa...@evermeet.cx> wrote: > I was looking into caching of user credentials, but I think I might be > missing something. > > The call ap_authn_cache_store seems to store user credentials which will > help, if you have > a directive like 'Require valid-user', but it won't help for directives like > 'Require group admin'. > > Am I right? > > So in case of an authentication module that uses database queries, all > subsequent requests > will still generate SQL statements for the user/group matching. Which means > that only half > of the database requests are actually cached.
Sounds right. The "authn" in the name is shorthand for authentication (vs authorization). It seems possible to shoehorn other data into this cache though, but it's not clear to me what it adds using socache directly.