On Jan 17, 2006, at 2:04 PM, Kevin Dangoor wrote:
On 1/17/06, Eugene Lazutkin <[EMAIL PROTECTED]> wrote:
Yehuda Katz wrote:
What would you guys say is the practical maximum size javascript
file
you'd want to load with a page?
At this point, I'd like to use:
Mochikit (100k)
Mochikit Scriptaculous Port (50k -- maybe a bit smaller if
compressed)
IE7 (30k)
Is that too much? Won't it cause serious problems for visitors with
dialup?
It is easy --- it was covered in elementary school. You have 180k =>
1440 kbit. If you assume that your dialup user downloads at 56kbit/s
(improbable) you are looking at ~26s pure download time.
Let's not forget, though, that you can deploy with gzip compression
which (I think) will be used by the major browsers. Bob had been
saying that MochiKit compresses to ~25K if I remember correctly.
$ cat packed/MochiKit/MochiKit.js | gzip | wc -c
25283
slightly below 25K.
-bob