On Fri, Apr 17, 2009 at 7:45 PM, Mike Kear <[email protected]> wrote: > > Back when i was first experimenting with Coldspring, I found i got big > improvements in time-to-page-rendering in low-traffic sites when i > tidied up my XML file - making the following settings, which should > have been there in the first place: > > All DAOs and gateways as singletons (i had been a bit haphazard about > that not really understanding that aspect up till then)
Singleton="true" is the default state, you don't have to set it explicitly. > No beans as singletons. (i managed to get away with doing that wrong > up till that point, by sheer good luck) > using Lazy-init=true on all cfcs.so they are only instantiated > if/when they're needed. lazy-init="true", is also the default state, so you don't have to set it explicitly either. Just so you don't have to do as much typing ;o) Mark -- E: [email protected] W: www.compoundtheory.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" 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/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---
