How about something like mod_gzip for Apache http ?

Philippe


-----Message d'origine-----
De : Sylvain Wallez [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 24 avril 2006 08:31
À : dev@cocoon.apache.org
Objet : Re: cocoon forms & bandwidth

Philippe LAPLANCHE wrote:
> dojo.js filesize = 144 Kb !!!!
>
> Isn't Ajax supposed to save bandwidth ????
>   

Absolutely not. Ajax is meant to provide a better user experience, by
allowing partial page updates. This saves some full-page reloads, but
also implies more requests to the server, even if they return less data
than a full page.

> What's the point using such a huge library ? Some of my application
> users won't have broadband connections. Does that implies that I can't
> use cocoon forms with ajax at all ? Some users will have broadband
> connections ... So what's the good solution ?
>   

See the discussion at http://marc.theaimsgroup.com/?t=114413678900002

An important point is that dojo.js is loaded *once* and then cached by
the browser.

> There is no mechanism to prevent the provided xsl stylesheets putting
> all the stuff that we don't need in <head> </head>. If I understand the
> philosophy, I have to edit all the xsl files manually so that I get
> precisely what I want. Is that it ? Cocoon upgrades will be really hard
> then.
>   

Yes. The XSLs must be refactored to isolate the Ajax-related styling in
a separate stylesheet. I will then be easy to remove the corresponding
<script> tags.

Sylvain

-- 
Sylvain Wallez - http://bluxte.net

---------------------------------------------------------------------------------------
Wanadoo vous informe que cet  e-mail a ete controle par l'anti-virus mail. 
Aucun virus connu a ce jour par nos services n'a ete detecte.






Reply via email to