note 10917 deleted from function.flush by sniper
| From: | sniper@php.net | Date: | Mon, 13 Oct 2003 01:37:16 +0000 |
| Subject: | note 10917 deleted from function.flush by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-58474@lists.php.net to get a copy of this message | ||
Note Submitter: wmoran@mail.iowna.com
----
Keep in mind that display isn't the only reason to flush(). If you've got a page with a
lot of processing to do that may take a few seconds, a flush could improve performance. On a slow
link (28.8k/sec), 5 seconds of processing + 15k of download will take nine seconds. But if you could
strategically place a flush() so the page immediately sent 10k of data, flushed, did the processing
and sent the other 5k, it would only take about 7 seconds.