I have an app which creates over 1500 ajax links, displays about 1000 images on one screen. It takes 7.5 seconds to load.
I have ran the xdebug output through WinCacheGrind with some interesting results. HtmlHelper->image is called 1345 times and takes about 0.5 seconds. Creating the image tags myself cuts the time down to under 0.1 seconds. HtmlHelper->link is called 1486 times and takes 0.8 seconds. Creating the links myself cuts the time down to 0.1 seconds. Between the AjaxHelper->remoteFunction, AjaxHelper->link and AjaxHelper->__optionsForAjax calls, Cake takes over 23% of its time, so that equates to about 2 seconds. Creating those links myself results in time under 0.2 seconds, so I'm wondering what the hell its doing behind the scenes. I know it's not often that you will need so many links on a page, but it does make me question what exactly is taking so long to process. Just thought I'd pass on this info in case someone needs to create a large number of links on a page. My advice would be to create the links yourself and steer clear of Cakes inbuilt functions. Winston --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
