See, I've already forgotten about that 6.0 time lag. How quickly I forget. DRE
> -----Original Message----- > From: Tim Blair [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 12, 2003 8:41 AM > To: CF-Talk > Subject: RE: CFMX performance issue > > > > instead of <cffile action="READ" > > file="c:/somwhere/maybe/abc.txt" variable="def"> > > > > you might try <cfsavecontent var="def"><cfinclude > > template="/maybe/abc.txt"></cfsavecontent> > > Depending on whether or not the abc.txt file is dynamically > created, the second suggestion might be slower (although not > _as_ slow now with 6.1) due to compilation. > > Basically we recently did this on a site but in the opposite > direction: plain text files were dynamically created and then > <cfinclude>'d on another page: every time the file was > regenerated, there was a lag when the file was included > because it has to be compiled (even if it's just plain text). > By using <cffile> we avoided this time lag and decreased > request time by a huge factor. > > Tim. > > > ------------------------------------------------------- > RAWNET LTD - Internet, New Media and ebusiness Gurus. > Visit our new website at http://www.rawnet.com for > more information about our company, or call us free > anytime on 0800 294 24 24. > ------------------------------------------------------- > Tim Blair > Web Application Engineer, Rawnet Limited > Direct Phone : +44 (0) 1344 393 441 > Switchboard : +44 (0) 1344 393 040 > ------------------------------------------------------- > This message may contain information which is legally > privileged and/or confidential. If you are not the intended > recipient, you are hereby notified that any unauthorised > disclosure, copying, distribution or use of this information > is strictly prohibited. Such notification notwithstanding, > any comments, opinions, information or conclusions expressed > in this message are those of the originator, not of rawnet > limited, unless otherwise explicitly and independently > indicated by an authorised representative of rawnet limited. > ------------------------------------------------------- > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4