dev@woodstock.java.net

Re: Loading speed of Calendar Component

From: richard ratta <Richard.Ratta_at_Sun.COM>
Date: Wed, 27 Aug 2008 09:28:04 -0400

Check to see if the calendar.js page is loading separately.
If the calendar.js page is loading separately, try using one of the
alternative loading
schemes (can't remember the incantation exactly) like "webuiAll".

There are a few loading schemes that allow you to tune what gets loaded
in every
page. We tried to make the most likely page load as fast as possible.
But it did not include
every widget's javascript. There are several schemes, I think you
configure them on the
body tag.

You could consider customizing the js that loads by creating your own js
file that contains
the "stuff" you need. This will reduce the amount of js loaded and the
number files to load.

We found that the reducing number of downloads is one of the primary
factors to fast page start up.

-rick

Nick Beare wrote:

> Hi,
>
> I have been very impressed with the functionality and visual appeal of
> a number of the Woodstock components I have used in my short
> experience with Woodstock.
>
> However (…have you noticed, there is always a ‘however’ following a
> compliment?) I have noticed that the load times on some pages are very
> slow compared with some other frameworks. I am in the process of
> rewriting a Tapestry application. The VW JSF Woodstock app looks much
> better and has more functionality, but load speed in some of the pages
> is much slower.
>
> My investigations lead me to strip down one of my pages and I found
> that the load time was nearly all down to the calendar control. I have
> 4 of these on my page Without these controls, the load time is
> approximately 4 seconds quicker (2 seconds versus 6 seconds on my
> desktop PC). The equivalent (uglier) Tapestry page loads in about 1.5
> seconds).
>
> Is there any way to tune the calendar control?
>
> Regards
>
> Nick Beare
>
> Developer
>
> Vixensoft
>
> **Tel:** 01420 89898
>
> **Fax:** 01420 541223
> **Web:** www.vixensoft.co.uk <blocked::http://www.vixensoft.co.uk/>
>
> **Head Office: **Market House, Lenten Street, Alton, Hampshire. GU34 1HG
>
> ViXEN Software Solutions Ltd. Registered in England and Wales. Company
> Number 4335138.
>
> -----------------------------------------------------------------------------------------------------------------------
>
> //Notice: This message contains information which may be confidential
> and privileged. Unless you are the intended recipient (or are
> authorised to receive this message for the intended recipient), you
> may not use, copy, disseminate or disclose to anyone the message or
> any information contained in the message. If you have received the
> message in error, please advise the sender by reply e-mail and delete
> the message. Thank you.///
>
> //Disclaimer: No notice provided by e-mail shall be binding unless
> confirmed by hard copy and signed by a duly authorised person.///
>