Turbo Sprockets Rails3

screenshot of Turbo Sprockets Rails3

Speeds up your Rails 3 assets:precompile by only recompiling changed files, and only compiling once to generate all assets

Overview

Turbo Sprockets for Rails 3.2.x is a powerful gem designed to optimize the asset pipeline in Ruby on Rails applications. By smartly recompiling only those assets that have changed, it significantly speeds up the rake assets:precompile process, leading to faster deployments. This gem is particularly beneficial for developers looking to enhance performance and streamline their workflow without the hassle of managing asset recompilation manually.

With recent updates, turbo-sprockets-rails3 has become a relatively stable solution, addressing compatibility issues and bugs. It’s essential to test it locally before deployment to a production environment, but users can expect a smoother experience in their asset management right out of the box.

Features

  • Incremental Compilation: Speeds up the assets precompilation by recompiling only the modified assets based on source file hashes.
  • Dual Output Generation: Compiles both fingerprinted and non-fingerprinted assets simultaneously, simplifying asset management.
  • Asset Expiration Cleaning: Provides a Rake task to remove outdated assets, ensuring that only current assets are served.
  • Custom Expiry Configuration: Easily configure the asset expiry time to maintain control over what assets remain on the server.
  • Compatibility Assurance: Works seamlessly with major gems like asset_sync and wicked_pdf, making it versatile for various setups.
  • Capistrano Integration: Functions smoothly with the latest version of Capistrano, enhancing deployment processes.
  • Heroku Support: Includes a Heroku Buildpack for asset caching, reducing the need for recompilation during deploys and managing old assets automatically.