[Cosmo-dev] Compact/compile Cosmo Javascript

Jared Rhine jared at wordzoo.com
Thu Nov 16 13:51:32 PST 2006


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.



More information about the cosmo-dev mailing list