XForms slow to appear

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

XForms slow to appear

Colin O'Brien
Hi

has anyone else seen this...

Obviously, html pages including XForms NG are slower than most to load
because of the need to download the javascript files.

With the forms in the first site I have done with them, the page is
blank until the very last moment.
It's as if the browser is waiting for a script to run before it even
starts painting anything on the page.

As we all know, this is not a good idea in terms of the psychology of
the website user.
It's much better to have the illusion of faster response by having
*something* appear on the screen, even if it takes some time for
*everything* to appear.

Is there likely to be anything I am doing to create this delay in
anything appearing?
Is there something I can do to improve it?

Thanks & regards
Colin




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: XForms slow to appear

Erik Bruchez
Administrator
Colin O'Brien wrote:

> Hi
>
> has anyone else seen this...
>
> Obviously, html pages including XForms NG are slower than most to load
> because of the need to download the javascript files.
>
> With the forms in the first site I have done with them, the page is
> blank until the very last moment.
> It's as if the browser is waiting for a script to run before it even
> starts painting anything on the page.
>
> As we all know, this is not a good idea in terms of the psychology of
> the website user.
> It's much better to have the illusion of faster response by having
> *something* appear on the screen, even if it takes some time for
> *everything* to appear.
>
> Is there likely to be anything I am doing to create this delay in
> anything appearing?
Interesting. I don't think it's due to your code, as I notice something
similar with the DMV Forms app. I don't know if this is actually
necessary to make the pages work, or if that could be changed. I enter a
bug to track this:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=304615&group_id=168&atid=350207

> Is there something I can do to improve it?

A first step would be to make sure your static files load fast, for
example by loading them from a web server such as Apache.

-Erik




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws