3 ms·
I think he is referring to asset hosts in #20. Rails does it pretty easily. ActionController::Base.asset_host = "assets.example.com"
by subbu 16y ago
I think he is referring to asset hosts in #20. Rails does it pretty easily. ActionController::Base.asset_host = "assets.example.com"
- webuiarchitect 16y agoYou are right, Subbu. Rails is nothing but common sense; it leaves developers only to do development and nothing else.
- JangoSteve 16y agoOr better yet, split assets over 4 asset subdomains: ActionController::Base.asset_host = Proc.new { |source| "assets#{source.hash % 4}.example.com" }