Slow Build Acl

2011-05-31 Thread thom
Hello,, I am facing a problem in building acl (build_acl). In the beginning, it was no problem. Everything is OK. But, when my controllers are increasing, building acl is getting slower and 'heavey'. I got maximum exceed. I've increased the time to 240 seconds. But still, appears. Some times, I

Aw: Slow Build Acl

2011-05-31 Thread Jens Dittrich
I assume you have used the build_acl function from the tutorial in the book. I had the same experience in an application with 50 controllers and about 5 functions average per controller. I think the main problem is, that the ACL behaviour is building a tree and this tree has to be sortet after

Aw: Slow Build Acl

2011-05-31 Thread Jens Dittrich
eventually adding some indexes might also help, see: http://www.mainelydesign.com/blog/view/speeding-up-cakephp-acl-component -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others

Re: Slow Build Acl

2011-05-31 Thread thom
On Tue, May 31, 2011 at 5:53 PM, Jens Dittrich jdittr...@gmail.com wrote: eventually adding some indexes might also help, see: http://www.mainelydesign.com/blog/view/speeding-up-cakephp-acl-component OK. I'll try it. Thank you everyone.. :) -- Regards,,, mastanto (thom_)

Re: Slow Build Acl

2011-05-31 Thread thom
On Tue, May 31, 2011 at 5:58 PM, thom cyber.phanto...@gmail.com wrote: On Tue, May 31, 2011 at 5:53 PM, Jens Dittrich jdittr...@gmail.com wrote: eventually adding some indexes might also help, see: http://www.mainelydesign.com/blog/view/speeding-up-cakephp-acl-component OK. I'll try it.