> Is it any way to disable 'describe' command? As mentioned, disable debug mode and the describe command will not be issued often at all. The results of the describe command is always cached, but in debug mode the timeout for this cache is 10 seconds, why we often see it while developing.
In my tests, disabling debug mode halved the request times. I suggest you use a stresstesting app like JMeter to simulate some load on your application and see how it works out. Personally, I ended up having to code the most used ajax parts in barebones php without using Cake - it was too much overhead. Within Cake: CakePHP has a lot of overhead, especially in the areas you mention. One can but minimize it. A lot of it comes from agressive loading of Models. One has to code carefully, and never use $uses in the AppController, or even in the controllers. I suggest always loading Model's in the functions where they are needed instead: $this->ModelName = ClassRegistry::init('ModelName'); This can really help avoiding a lot of unnecessary costly Model loading. Sadly, there seem not to be any way to load Components this way, but at least it's a start. Also, use memcached and APC, and you will be better off as well. On 26 Jan, 10:38, Hipnotik <pork...@gmail.com> wrote: > Hi > Could you give me some instructions how to deploy cakephp application > on production server? > I know I have to disable debugging and enable cache engine... but what > else? > Maybe someperformancetips? > Is it any way to disable 'describe' command? > > Thanks for help! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---