Hi

If Bootstrap class has several _init* methods (DB, Session, View/Layout,
Auth, Acl, etc) but not all of them are required for certain requests, how
could one avoid their execution ?

Cheers
holo





2009/5/14 Matthew Weier O'Phinney <[email protected]>

> I plan on running some profiling and benchmarks soon. Some ideas off the
> top of my head:
>
>  * You'll get much better performance if you create resource methods in
>   your bootstrap than if you use resource plugins.
>
>  ...
>
>  * Only bootstrap what you actually need for *each* request, and defer
>   initialization of other resources until they're used. (This is the
>   sort of thing that the resource autoloader was intended to help with,
>   too.)
>
>

Reply via email to