Is there any way to compress the js files?? Using Scriptaculous adds 124k to my page, plus another 40k for prototype.. ______________________________________________________________________ Alex Duffield . Principal . InControl Solutions . http:// www.incontrolsolutions.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20051010/7d97fe0a/attachment.html
On 10/10/05, Alex Duffield <alex@incontrolsolutions.com> wrote:> > Is there any way to compress the js files??I use http://jscompact.sourceforge.net/, it is kind of a pain to compile, but I find it works really well. I compact all the scriptaculous/prototype files, then concatenate them into one master javascript file, and it seems to help quite a bit. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20051010/d28a0664/attachment.html
you should be able to config your web server to compress them automatically for browsers that accept gzip (which is most browsers these days). On 10/10/05, Alex Duffield <alex@incontrolsolutions.com> wrote:> > Is there any way to compress the js files?? > Using Scriptaculous adds 124k to my page, plus another 40k for prototype.. > > > ______________________________________________________________________ > > *Alex Duffield* *.* *Principal* *.* *InControl Solutions* *.* * > http://www.incontrolsolutions.com* <http://www.incontrolsolutions.com/> > > > > > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20051010/f9aa3017/attachment.html