Indeed my table relationship is quite simple just a list of products belong to different product cat ( product_cats table has many products) , so I don't think it would cause the problem. but thanks for your advice .
I think I should try to eliminate all the error message found in the debug tools, and try again . On 3月18日, 下午5時16分, WyriHaximus <[email protected]> wrote: > Just curious how many queries/models/reccords/relations are we talking > about? For example does it run the same query more then once or is it > looping alot? Did you look athttp://book.cakephp.org/view/474/Containable > to cut down on your database queries? > > On Mar 18, 3:32 am, namsouth <[email protected]> wrote: > > > it is just the localhost with apache, mysql, and php5, > > each query is just cost about 20ms, > > also I have greater problem when put my web into a web hosting, the > > loading speed is very slow , sometime it would take about 20s to load > > a page > > as I have been set the debug mode to 0 on production server and trun > > off the firewall server but I also still need to take about 6s to load > > a page. > > > I just have no idea how would I improve theperformanceof the web, > > > this problem related to the model or any others things ?? > > > On 3月16日, 下午5時01分, Miles J <[email protected]> wrote: > > > > It seems all your views are loading rather quickly, how long on > > > average do your sql queries take? > > > > Also is this a local host or online server? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
