I use the <cfsetting enableoutputonly="yes/no"> tag.
BTW: In Ben Forta's Tips & Tricks of the ColdFusion Masters
presentation theres:
- <CFOUTPUT> is one of ColdFusion�s most important tags
- Any text within a <CFOUTPUT> block must be parsed and
inspected � parsing takes time
- Don�t place text in between <CFOUTPUT> tags unnecessarily
Sooo.. How do you do it? Do you use <cfoutput> around large blocks
of code or more like this:
<a
href="index.cfm?fuseaction=<cfoutput>#attributs.fuseaction#</cfoutput>">
</a>
And has anyone measured how big is the performance hit when
using a lot of text inside <cfoutput> tags versus <cfoutput>
only around variables?
Erki
----- Original Message -----
From: "Lee Borkman" <[EMAIL PROTECTED]>
To: "Fusebox" <[EMAIL PROTECTED]>
Sent: Wednesday, October 11, 2000 5:08 AM
Subject: Re: cf_bodycontent
Hi Paul,
If you strip the space using CF_BodyContent, you still get whitespace
caused
by the index.cfm, app_globals, etc. Best of all is to just enclose your
entire index.cfm fusebox inside a CustomTag like CF_LessWhiteSpace (hey,
that's one of mine!!) or Nate Weiss' CF_StripWhiteSpace (I think that's
the
name).
Best of luck,
Lee Borkman
Bjork.Net - ColdFusion Tags by Bjork
----------------------
"Paul Johnston" <[EMAIL PROTECTED]> wrote:
Just a question. Using this tag could mean that we could strip
whitespace
from all pages. This could then cut down on download times without
changing
our coding structures methods etc.
What do you think?
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.