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:

1.  keep track of the specific libraries in mochikit that you use and
only include those files.  just adding mochikit.js to your header will
write tags for all the libraries to the dom sending several requests to
a server and presenting a large download time.
2.  once you've identified all the used libraries, you can place them
(in correct order) into one file.  this is easily done on command line
if you are familiar. (using the 'type' function)
3.  Using the concatenated file you created, you can further compress
it using the command line tool jsmin.  do a google search for 'JSMIN'
and you should find it.

the end result is one file, fully compressed that holds all the
required libraries from mochikit that your site uses.  this means only
one request sent to the server and typically a MUCH smaller file.  most
sites won't use all the bells and whistles that mochikit provides, i
was able to take my 781 kb package down to a single 78 kb file.

now that's a noticeable difference.


--~--~---------~--~----~------------~-------~--~----~
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