possible... I guess its mainly a perfectionist thing but all that whitespace
on a busy site does tend to add up to lots of Mb over a period of time and
it can mean the difference between being under and over your bandwidth limit
when its measured on a monthly basis...
With that in mind, I remove as much whitespace as I possibly can, and as a
starting point, I use the code below as my generic page template...
<cfcontent reset="yes" type="text/html;
charset=utf-8"><cfprocessingdirective pageencoding="utf-8"
suppresswhitespace="Yes">
<cftry><cfsilent>
<!--- form handlers / page setup code --->
<!--- if I generate HTML here I use <cfsavecontent> --->
</cfsilent>
<cfinclude template="header.cfm">
<!-- Main content block -->
<div id="">
</div>
<cfinclude template="footer.cfm">
<cfcatch>
<!--- Error handler for the page --->
<cfinclude template="errorhandler.cfm">
</cfcatch>
</cftry>
</cfprocessingdirective>
Paul
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

