On 7/10/07, 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?
>

In production mode (debug set to 0) CakePHP can cache a lot of
information for you.  Worry about performance when it actually becomes
an issue for your application.  You might be surprised at how well
CakePHP can peform.

-- 
Chris Hartjes
Senior Developer
Cake Development Corporation

My motto for 2007:  "Just build it, damnit!"

@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

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