You might also index your aros/acos tables, according to the mode used
in Auth ...
On Aug 18, 10:51 pm, mark_story <[EMAIL PROTECTED]> wrote:
> Tiggr: How many queries is ACL component doing. Normally for a single
> check it is ~6 db calls. If you are doing more than one acl check per-
> page you should be caching the results, so you can use them over
> again. But caching is not part of the core ACL component.
>
> -Mark
>
> On Aug 18, 3:12 am, Tiggr <[EMAIL PROTECTED]> wrote:
>
> > Hi!
>
> > > var $components = array('Acl', 'Auth', 'Email');
>
> > > The page load goes through the roof.
>
> > Just the same for me, but only with Acl! And it isn't slow all the
> > time, pages load fast when user isn't logged in, but after logging in,
> > all is getting worse! Loadtime goes up through the roof because of the
> > many sql-queries acl does! :-(
>
> > I'm going to implement some sort of caching, but that's no real
> > solution, only a work around!
>
> > Is there a way to reduce the amount of queries in acl?
>
> > Bye
> > Marcus
>
> > PS: It's my first page with cake...! You may have a look at the page
> > athttp://www.larp-welt.de, and at the code
> > athttp://code.google.com/p/cakelinks/source/browse/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---