Re: Cake optimization

2012-01-02 Thread Dee Johnson
I would like to have somewhere ~1 sec load time I actually figured out the problem though. When using persistModel = true it actually caused ALOT of unexpected speed results. I removed it and all calls are around 1 - 3 seconds. Also, automagic form elements wont load with it for some

Re: Cake optimization

2012-01-02 Thread Dee Johnson
Thank you for the suggestion, I will give it a try. -- 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 with their CakePHP related questions. To unsubscribe from this group, send

Re: Cake optimization

2012-01-02 Thread AD7six
On Jan 3, 6:55 am, Dee Johnson devario...@gmail.com wrote: I would like to have somewhere ~1 sec load time I actually figured out the problem though.  When using persistModel = true it actually caused ALOT of unexpected speed results.  I removed it and all calls are around 1 - 3 seconds.

Re: Cake optimization

2012-01-02 Thread Miles J
http://milesj.me/blog/read/caching-queries On Jan 2, 10:09 pm, AD7six andydawso...@gmail.com wrote: On Jan 3, 6:55 am, Dee Johnson devario...@gmail.com wrote: I would like to have somewhere ~1 sec load time I actually figured out the problem though.  When using persistModel = true

Re: Cake optimization

2012-01-02 Thread Phang Mulianto
you rite adsix. .agree . see where the problem caused and fix it..and if you already optimize everything before need the debug kit it will safe you too... for the os level well, every kernel of linux can be optimized, some came with default server usage setting, with of course different workload

Re: Cake optimization

2011-12-31 Thread Phang Mulianto
you should also consider to optimize your web server and os layer, javascript caching in your app and also the image caching in user browser...it will make a difference for the effort... what's your expect in load time results? On Dec 31, 2011 4:45 AM, Dee Johnson devario...@gmail.com wrote: Hi

Re: Cake optimization

2011-12-31 Thread John Hardy
Use a dedicated memcached server for your caching. On Dec 31, 2011, at 8:59 AM, Phang Mulianto wrote: you should also consider to optimize your web server and os layer, javascript caching in your app and also the image caching in user browser...it will make a difference for the effort...

Cake optimization

2011-12-30 Thread Dee Johnson
Hi guys. I have a optimization question. I have already used $persistModel = true, optimized by queries with containable and made sure all tables had indices. I still would like a speed increase as pages are taking at the min 1.5 sec and at the max 8 seconds (on random occasions). I tried

Re: Cake optimization

2011-12-30 Thread John Hardy
cache your queries using a dedicated memcached server. Sent from my iPhone On Dec 30, 2011, at 12:45 PM, Dee Johnson devario...@gmail.com wrote: Hi guys. I have a optimization question. I have already used $persistModel = true, optimized by queries with containable and made sure all