Hi,
yesterday we were wondering about the performance of QuickView().
We use this function within a loop, to “include” a template…
In the debugoutput we see that the template itself executes fast. But the template that uses QuickView() is quiet slow.
By changing the QuickView() to an cfinclude we see that the page gets fast again.We can not use the caching here, because the content that is displayed is search related and dynamic.
Is there an idea about it ?
Cheers
Andy
You can try and disable view events and pass a prePostExempt = true to it.

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com
Social: twitter.com/lmajano facebook.com/lmajano
Do you have an short example?
it is an argument to the function Andy.
quickView( prePostExempt=true )

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com
Social: twitter.com/lmajano facebook.com/lmajano
Okay thanks, I’ll let you tomorrow if it worked for us.
Cheers
Hi Luis!
I did the test now with a loop and 40 items:
cb.quickView(view=’…’,args=myImg,prePostExempt=true)
compared to
The include is in average 200ms per request faster. Is there another chance to increase the speed?
thanks so far!
Andy
Unfortunately now. Since when you delegate to render view it has to account for external views, modules, lookups, etc.
So my recommendation is, if you don’t care about any of those concerns, then use cfinclude.

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com
Social: twitter.com/lmajano facebook.com/lmajano