You could try the <CF_StripWhiteSpace> tag. I find that it adds
about 30 milliseconds on average to a page's execution time, but 
whether that shrinks the resulting page size sufficiently to compensate
is anybody's guess.

Tristram Charnley
_________________________________
e-mail:  [EMAIL PROTECTED]




> -----Original Message-----
> From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]]
> Sent: 27 November 2000 16:38
> To: CF-Talk
> Subject: RE: Rationalising Code
> 
> 
> > I would suggest though that CFSETTING creates a performance 
> overhead. You
> > may be better just leaving the white space in there.
> 
> This has to be taken into consideration with the way the code 
> works - if
> you're using loads of CFLoops then CFSetting can be really 
> useful, but only
> for the loop parts
> 
> But as long as the code is intelligently written, it should 
> be light enough
> to not use CFSetting;
> e.g.
> Using CFScript for long parts of CFSet and CFIF
> Doing most of the database work at the database level and not in CF
> 
> One thing to definitely avoid is using the setting in the 
> Admin - "Suppress
> whitespace by default" is a heavy overhead that you want to 
> avoid if at all
> possible...
> 
> Philip Arnold
> Director
> Certified ColdFusion Developer
> ASP Multimedia Limited
> T: +44 (0)20 8680 1133
> 
> "Websites for the real world"
> 
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> **********************************************************************
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Structure your ColdFusion code with Fusebox. Get the official 
> book at http://www.fusionauthority.com/bkinfo.cfm
> 
> Archives: http://www.mail-archive.com/[email protected]/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to