On Jul 10, 7:27 pm, hi and hello <[EMAIL PROTECTED]> wrote:
>   Every time when the user wisite a url like /controller/action/, and
> the cakephp will load the models  and components declared in this
> controller, which might be improvident because not every visit need
> to loac the heavy models and components class.
>  For example, the url /blog/create/ ,when GET, I just want to display
> a page for the user to create a blog.
>  So then what to do? config for every action's GET and POST? or code
> carefully to avoid this?
>  How to do there is better?

FWIW, I have also felt the performance for:
1. Too many queries running
2. Many regexp on dispatcher (I still believe there is no need to
check baseUri everytime)

For #1, after a long wait, I found a wonderful post here
http://groups.google.com/group/cake-php/msg/c10840be78a34df0 (possibly
the most useful post I have ever seen in this group)
For #2, I had to touch dispatcher.php

--
  <?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com    Blog: http://rajeshanbiah.blogspot.com/


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to