Scott Becker
2006-Jun-19 16:47 UTC
[Rails] [ANN] AssetPackager released! Compress, merge, cache and version your JavaScripts and CSS Stylesheets
Hello all, I''m announcing a new version of my plugin AssetPackager (formerly known as MergeJS). Biggest new feature? It now merges and compresses CSS files as well! New Features: * support for css files * versioning of individual packages * use of more meaningful subversion revision numbers (if available) (thanks Chris Van Pelt!) * namespaced rake tasks * no more revision numbers in the yaml file * lotsa refactoring * unit tests * more intuitive names for everything! Main Page: http://synthesis.sbecker.net/pages/asset_packager Blog Entry: http://synthesis.sbecker.net/articles/2006/06/19/assetpackager-released The rest of the info: == AssetPackager Easily merge, compress, cache, and version your javascript and CSS with Ruby on Rails! == Description: When running in production, instead of sending down a dozen javascript and css files full of formatting and comments, this plugin allows you to merge and compress javascript down into one or more files, thus saving download time for your users. But when in development, it would be nice to use the formatted, commented and logically separated versions for ease of development and debugging. This plugin makes it easy to do both. Because not all browsers will dependably cache javascript and css files with query string parameters, we write a timestamp or subversion revision stamp into the merged file names. Therefore files are correctly cached by the browser AND your users always get the latest version when you re-deploy! * Formerly known as MergeJS. Main Page: http://synthesis.sbecker.net/pages/asset_packager Blog Entry: http://synthesis.sbecker.net/articles/2006/06/19/assetpackager-released -- Scott Becker Electro Interactive, Inc. Web: http://www.ElectroInteractive.com Blog: http://synthesis.sbecker.net