RE: [PHP] long processing pages

From: Date: Tue, 08 Apr 2003 19:48:30 +0000
Subject: RE: [PHP] long processing pages
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-142946@lists.php.net to get a copy of this message
hey chris, his general question was "handle pages with extensive processing" and one way in which i've done that in the past is to be smart about when that processing needs to be done, hence caching and optimization... granted, if the processing can't be avoided, etc, something like flush would at least serve to let the users know what's going on be aware of how certain browsers display (you might have to make sure if you have a <table> tag that the closing tag is sent as well) and other strange occurences, such as in IE, where you have to send at least X kilobytes of info before it will display anything at all. sorry if that first post was offtopic at all, but i think its something to think about before flush :-) jack > -----Original Message----- > From: Chris Shiflett [mailto:shiflett@php.net] > Sent: Tuesday, April 08, 2003 3:36 PM > To: dempsejn@georgetown.edu; Edward Peloke > Cc: Php-General@Lists. Php. Net > Subject: Re: [PHP] long processing pages > > > --- 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/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#142946) next »