Ruby Library To Concatenate Multiple JavaScript Files

Sprockets, an open source ruby library (for Prototype / Scriptaculous) that takes multiple JavaScript files and concatenates them into a single file.

ruby-library-to-concatenate-multiple-javascript-files

Concatenating your site’s JavaScript means:

  • All your source code is cached in the browser on the first hit
  • It reduces the number of HTTP requests necessary to load a single page

Users can organize their separate JavaScript source files into directories during development and can add as many comments as they want—they’ll be stripped from the resulting concatenated output automatically.

Every search engine likes a fast loading website and this open source ruby library helps users to achieve desired search engine rankings.

Sprockets is written in Ruby and has no run time dependencies apart from the Ruby standard library.

Website: http://www.getsprockets.org/

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>