Hi all,
this should be an easy one.

I've noticed a very slow startup when my site initialises a .NET dll. The first 
request takes a very long time, and subsequent ones are much quicker. I presume 
that the dll is somehow stored in memeory and I wonder if and how I could have 
it ready as soon as the first request comes in. Maybe by somehow keeping the 
Application alive all the time (this site is purely there to handle file 
conversions, it's an API without user facing pages), and/or pre-initialise the 
DLLs on Application startup?

I'm not sure how CF handles this, but if I run this line somewhere in my 
app/site
<cfobject type=".NET" name="presentation" class="Aspose.Slides.Presentation" 
assembly="#slidesDLL#">
does that mean that other pages in the same app/site will have a quicker access 
to that object since it has already been loaded once, or does the performance 
improvement only happen if the same page is hit more than once in a certain 
timeframe?

Regards,

Stefan




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346024
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to