ColdBox 4.0 has been built for speed. We really wanted to improve performance out of the box. We spent a lot of time making sure, as we always do, that we can squeeze everything out of the framework as possible.
One of the major changes you should be aware of in terms of performance is that ColdBox handlers are now singletons out of the box. Most applications should be using their handlers as singletons because controllers generally shouldn't have state in an event driven application.
In pre-4.0.0 applications all event handlers were cached in CacheBox with specific timeouts. We have found that this just created extra noise and complexity for handler CFCs. So now all event handlers will be cached as singletons be default (unless specified in the ColdBox.cfc).
Find out what else is new
http://wiki.coldbox.org/wiki/WhatsNew:4.0.0.cfm
Add Your Comment