[Cosmo-dev] Compact/compile Cosmo Javascript

Mikeal Rogers mikeal at osafoundation.org
Thu Nov 16 14:35:56 PST 2006


We might want to break this in to two items. One for reducing  
bandwidth in general, and another for reducing round trips.

The UI loading slowly I imagine is mostly do to the amount of round  
trips not to the excess whitespace and comments. But for the sake of  
reducing our osaf.us bandwidth bill we obviously need to be cutting  
down on overall bandwidth usage.

-Mikeal

On Nov 16, 2006, at 1:51 PM, Jared Rhine wrote:

> I've opened the following ticket to track reducing the bandwidth  
> and number
> of HTTP transactions required to start the Cosmo PIM.  Owner,  
> timing TBD.
>
> -------- Original Message --------
> Subject: [Bug 7433]  New: Compact/compile Cosmo Javascript
> Date: Thu, 16 Nov 2006 13:49:19 -0800 (PST)
> From: bug-comment at osafoundation.org
> To: jared at wordzoo.com
>
> http://bugzilla.osafoundation.org/show_bug.cgi?id=7433
>
>            Summary: Compact/compile Cosmo Javascript
>            Product: Cosmo
>            Version: 0.5
>           Platform: All
>         OS/Version: Linux
>             Status: NEW
>           Severity: enhancement
>           Priority: P2
>          Component: Build
>         AssignedTo: bear at code-bear.com
>         ReportedBy: jared at wordzoo.com
>
>
> Cosmo's UI loads quite slowly, compared to common web apps.  There are
> dozens of files used, each with lots of whitespace and comments.   
> The user
> experience is a blank page while Cosmo loads; generally something  
> like 8
> seconds worth.  Not noticeable for developers accessing localhost,  
> very
> noticeable against osaf.us, and lord help anyone who is on dialup.
>
> Ideal for bandwidth consumption would be to strip leading  
> whitespace and
> comments from Javascript files during builds.  Dojo apparently also  
> has a
> nice compilation system to create a single file with only the  
> components
> actually used by the application; doing this would greatly reduce  
> the number
> of HTTP transactions used and improve latency.
>
> This ticket is to dramatically reduce the bandwidth consumed by  
> starting up
> a new Cosmo web calendar session.
>
> -- Jared
>
>
> -- 
> Configure bugmail: http://bugzilla.osafoundation.org/userprefs.cgi? 
> tab=email
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> _______________________________________________
> cosmo-dev mailing list
> cosmo-dev at lists.osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/cosmo-dev



More information about the cosmo-dev mailing list