public
Description: Rails plugin for picking a non-ssl asset host as often as possible
Homepage:
Clone URL: git://github.com/dhh/asset-hosting-with-minimum-ssl.git
dhh (author)
Thu Nov 27 08:21:32 -0800 2008
commit  cb2e3721d9c7394c9153079cd943678bc57cc0e4
tree    117e513f94639b24d465b7627c175d4bc8997350
name age message
file MIT-LICENSE Thu Nov 27 08:21:32 -0800 2008 Initial commit [dhh]
file README Loading commit data...
file Rakefile Thu Nov 27 08:21:32 -0800 2008 Initial commit [dhh]
directory lib/
directory test/
README
AssetHostingWithMinimumSsl
==========================

It's slow to serve assets that doesn't need to be secure over SSL. This plugin will let you send assets over non-SSL as 
often as possible.


Example
=======

In your config/production.rb

config.action_controller.asset_host = AssetHostingWithMinimumSsl.new(
  "http://assets%d.example.com", # will serve non-SSL assetts on http://assets[1-4].example.com
  "https://assets1.example.com"  # will serve SSL assets on https://assets1.example.com
)


Copyright (c) 2008 David Heinemeier Hansson, released under the MIT license