Musachy, has this been fixed in 2.1? Are the number of requests happening because we are using Dojo's lazy import feature?
Don On 9/21/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: > Only on 2.1 Frank, if you set cache="true" it will use a custom build > that includes the files needed by the S2 widgets. The first download > will be big but it will be cached by the browser. > > To the OP: Are you using ajax? if not, don't set theme="ajax" on head. > > regards > musachy > > On 9/20/07, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > > If Dojo is being used for AJAX in this case, that's my guess. I know > > from experience that Dojo, can issue a TON of requests even if you think > > your only loading a small portion of it. Assuming this guess is > > correct, Musachy, does S2 use a custom build of Dojo? If not, that > > might be worth considering. > > > > Frank > > > > -- > > Frank W. Zammetti > > Founder and Chief Software Architect > > Omnytex Technologies > > http://www.omnytex.com > > AIM/Yahoo: fzammetti > > MSN: [EMAIL PROTECTED] > > Author of "Practical Ajax Projects With Java Technology" > > (2006, Apress, ISBN 1-59059-695-1) > > and "JavaScript, DOM Scripting and Ajax Projects" > > (2007, Apress, ISBN 1-59059-816-4) > > Java Web Parts - http://javawebparts.sourceforge.net > > Supplying the wheel, so you don't have to reinvent it! > > > > chengas123 wrote: > > > Hi, > > > I am working on a Struts 2 page and page load times are way too high. I > > > tracked it down to the Struts head tag, which I have as follows: <s:head > > > theme="ajax" /> > > > Without the tag, my page issues 3 requests and takes 453ms to load. With > > > the tag, the page issues 54 requests taking 12.24s to load. > > > Is there something I am doing wrong here? > > > > > > Thanks, > > > Ben > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > "Hey you! Would you help me to carry the stone?" Pink Floyd > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]