Hey there,

I've been wondering if the assumption of four asset hosts for the sake of 
speed improvements is still valid.
 
Rails documentation about asset hosts:

Browsers typically open at most two simultaneous connections to a single 
> host, which means your assets often have to wait for other assets to finish 
> downloading. You can alleviate this by using a %d wildcard in the 
> asset_host. For example, “assets%d.example.com”. If that wildcard is 
> present Rails distributes asset requests among the corresponding four hosts 
> “assets0.example.com”, …, “assets3.example.com”. With this trick browsers 
> will open eight simultaneous connections rather than two


According to this (http://www.browserscope.org/?category=network), browsers 
are supporting typically 6 - 8 simultaneous connections per host nowadays. 
However, there's an average max connection limit of 2 times of that.

Would it make sense to adjust the behaviour to generate only two asset 
hosts by default?

Cheers,

Sebastian

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to