SummaryThis gem accelerates your rails public directory by transparently pushing it out to an edge-cache at deployment-time. Will allow you to serve assets superfast to all your customers. Requires that you have an aws account, and sign up for amazon s3 and cloudfront. Usage require 'xlr8/capistrano' # add to your Capfile
require 'xlr8/tasks' # add to your Rakefile Create a RAILS_ROOT/config/xlr8.yml: bucket: "my-bucket"
aws_access_key_id: <blah>
aws_secret_access_key: <blah> That's it! How it WorksAs part of your cap deploy, xlr8 will : - package up all your assets
- version them
- push them to s3
- create an edge-cache distribution in amazon cloudfront if possible
- update the ' ActionController::Base.asset_host' setting in environment.rb to
Your rails install will transparently start pointing at your blindingly fast asset locations! DownloadThis gem is not yet available on rubyforge. Download the gem from the downloads section
|