One word: gzip

This provides:

1. Much better compression ratios
2. It doesn't mess with the JavaScript
3. You still get decent messages if JavaScript errors should happen
4. It's completely transparent to both your application and the browser

Implementation depends on the webserver, of course.
Apache has mod_gzip and mod_deflate, and lighttpd comes
with mod_compress.

-Thomas

Am 07.04.2006 um 21:52 schrieb Louis Walch:

i took the prototype and all the scriptaculous .js files and combined them
into one, then i ran it through the compressor at
http://www.creativyst.com/Prod/3/

it was able to compress it down about 77%. what i am wondering is, is this
safe to use? i am just looking to chop down the 152kb of all the .js
combined.
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to