> Can anyone tell me how much faster cfsaevcontent is over the
> cf_bodycontent tag?
Speeds may vary dependant upon your server OS and configuation. You can do
rudimentary load testing fairly easily with something like this:
<cfset c = arraynew(1)>
<cfloop from="1" to="100000">
<cfset temp = ArrayAppend(c,gettickcount())>
<cf_bodycontent variable="temp">
<cfinclude template="dummytemplate.cfm">
</cf_bodycontent>
<cfset c[arraylen(c)] = gettickcount() - c[arraylen(c)]>
</cfloop>
<cfoutput>
<div>cf_bodycontent avg. time: #ArrayAvg(c)#</div>
</cfoutput>
<cfflush>
Then copy this code below and replace cf_bodycontent with cfsavecontent...
hth
Isaac Dealey
www.turnkey.to
954-776-0046
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists