Does anyone know if it’s possible to somehow set a different asset_host for a asset that is addressed using the asset_path or asset_url helper method?
Something like this:
asset_path 'path/to/asset.html', :host => nil #this will same sure the asset is on the same domain
asset_path 'path/to/asset.jpg', :host => 'http://staticserver.com' #static server
This can be achieved by doing the following: