Although, CFLoops take more overhead.
Phil
>===== Original Message From "Marsh, Jeffrey B" <[EMAIL PROTECTED]> =====
>Just as Paul suggests, whitespace has bitten me a couple times. Another
>thing to look is your query loops. Don't use <cfoutput query="blah">.
>Instead use <cfloop query="blah"> and use <cfoutput></cfoutput> inside the
>loop only when you want something to go to the browser. This prevents the
>extra whitespace generated by intermediate processing (i.e.; <cfset ...>)
>from being sent to the browser.
>
>---
>Jeffrey B. Marsh
>Professionals built the Titanic.
>Amateurs built the Ark.
>
>-----Original Message-----
>From: Paul Johnston [mailto:[EMAIL PROTECTED]]
>Sent: Friday, January 05, 2001 8:43 AM
>To: Fusebox
>Subject: RE: OT Large Tables
>
>have you thought that maybe your code is producing large amounts of
>whitespace?
>
>This can add significantly to the download time of a page (esp if your
>looping code is well spread over several lines!).
>
>To combat it use the useful tag:
>
><cfsetting enablecfoutputonly="yes">
><!--- any code in here doesn't get outputted --->
><cfoutput>#this_is_outputted#</cfoutput>
><cfsetting enablecfoutputonly="no">
>
>I hope this helps (and if it isn't this or something similar I'm very
>surprised that a server side process can affect the speed of a client in
>that way).
>
>Paul
>
>-----Original Message-----
>From: Joseph Higgins [mailto:[EMAIL PROTECTED]]
>Sent: Friday, January 05, 2001 4:35 PM
>To: Fusebox
>Subject: OT Large Tables
>
>
>It seems like it takes a browser a looooong time to render a simple html
>table when the query returns say >1000 records. Has anybody ran into
>this. I am thinking that I may just make every cell in a different table
>(But that would increase the amount of code (kb) going out to the
>browser, but may allow the data to be drawn as it is sent, instead of
>waiting until all the data for that table is sent, then rendering it.
>
>Any suggestions. I have not tried my own suggestion yet but will let you
>know.
>
>--
>Joseph Higgins, BSN, RN
>Clinical Faculty, Instructional Technologist
>Idaho State University, Department of Nursing
>650 Memorial Dr.
>Pocatello, ID 83209-8101
>Phone: (208) 282-2984
>Fax: (208) 282-4476
>Email: [EMAIL PROTECTED]
>Home:
>816 Gloria
>Chubbuck, ID 83202
>Home Phone: (208) 237-8767
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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