On 9/29/06, bertanonymous <[EMAIL PROTECTED]> wrote:
>
> you might want to consider compressing the files that you use to make
> it a faster download.  the entire mochikit api (the unpacked version)
> is a pretty heavy 781 kb.  that's a sizable download for script files
> used on a page.  there are several steps you can take to make the site
> faster:

In what universe is the MochiKit API 781kb uncompressed?

This is what's in the packed version on the trunk:

$ du -csh Async.js Base.js DOM.js DateTime.js \
    Format.js Iter.js Logging.js LoggingPane.js MochiKit.js Signal.js
Style.js Visual.js
 20K    Async.js
 44K    Base.js
 36K    DOM.js
8.0K    DateTime.js
 12K    Format.js
 24K    Iter.js
 12K    Logging.js
 12K    LoggingPane.js
8.0K    MochiKit.js
 24K    Signal.js
 16K    Style.js
 56K    Visual.js
272K    total

You'd have to load it almost THREE TIMES to get close to your number.
The last release was smaller because Visual on trunk has a lot of new
stuff in it.

If you include all of the JavaScript in the MochiKit directory you end
up with 428k... but that includes a bunch of stuff that's used for
testing and never ends up in anyone's build, plus the new unstable
stuff that hasn't made it into a release yet.

-bob

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to