Re: long processing pages
| From: | Chris Shiflett | Date: | Tue, 08 Apr 2003 19:35:52 +0000 |
| Subject: | Re: long processing pages | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-142944@lists.php.net to get a copy of this message | ||
--- epeloke@echoman.com wrote:
> I am curious as to how people handle pages with extensive
> processing? I have a page that will have to potentially run
> a lot of background db queries and currently, the screen just
> goes white as the page slowly loads. How do others handle
> this?...flush()?
--- dempsejn@georgetown.edu wrote:
> just in case you haven't already, i'd suggest looking into
> caching; there are some nice free options out there. also,
> optimizing your database and keeping good design with indices
> will always help...
I think you misinterpreted his question or something, since your answer seems
off-topic. :-)
As for the original question, yes, you might try using flush(). If you cannot
avoid having a long processing page, at least you can let your users know what
is going on and show them some signs of progress.
Chris
=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/