"Mel" <MelHeravi.DeleteThis@gmail.com> schreef in bericht
news:0bfe6eca-e000-432f-a16e-96cc08e661c9@c33g2000hsd.googlegroups.com...
>I was wondering if there was some kind of tweeking in apache, which
> would not dump me into a blank page, before the new page data is ready
> to display ?
>
> I have seen some applications (non ajax) that seem to stay in my face
> while the server is fetching new page data.
>
> Please help. My customers hate blank pages for too long. they rather
> be looking at the current page
The white or gray -browser (version) dependant- empty screen will flash -or
flicker- more noticable when a colored or dark background is used.
A browser may wipe the current content as soon as the first byte of new
content has arrived, exact behaviour will very per brand and version *AND*
document type.
Make sure any script does send its response in a single throw; do not rely
on the buffering capacities of server side deflate as a browser -or proxy-
may disallow it.
Notice that on a recursive page -fill-in (again) form is displayed with the
results of previous submitted values- not whiping the results soon enough
may allow the user to print, distribute or archive an invalid combination
of settings and results.
Javascript may, unless disabled at the browser, help you out here:
<form id=Form action="yourscript.cgi" method="post"
onSubmit="document.getElementById('result').style.display='none' >
<div id=result>previous result</div>
HansH
>> Stay informed about: wait for complete loading from server before removing my p..