|
First: CF queues up the page result until your
script execution is COMPLETE. (e.g. So that the cflocation command can
work).
This
means the browser does not receive the FIRST byte of the result until the LAST
byte of the result has been processed server side. You can override this
by using the CFFLUSH tag to push the queued up bytes to the
browser.
(Do
this
<HTML><BODY>Please wait while we process
your request...<CFFLUSH><!--- now do your big
query--->
)
Second: A browser will not start displaying a
table until ALL of the table has been received. Therefore, if you have a
LOT of records, and you want them to start displaying quickly, then break your
recordset up into multiple tables, eg every 100 records or so close the table
and then start the table again. The down side of this is your different
tables may not have the same column widths unless you use explicit column width
definitions.
If you
need sample code of this, let me know.
Terry Fielder
|
