overhead when using 'gem install'/'bundle'
I wonder does it make sense to download latest_specs.4.8.gz when
doing a 'gem install '? It's 270k gzipped. Why this cannot be
worked out by a server side? latest_specs is updated often enough,
and it uses 'If-Modified-Since', but is there any statistics of
200/304 response proportion?
It's even worse with bundler, since it always downloads
specs.4.8.gz 700k gzipped and prerelease_specs.4.8.gz 35k.
Does this traffic overhead worth some server-side calculation? Yes, this might require moving some gem/bundler logic to server side, but the traffic will almost only consist of the gems itself.
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Luis Lavena on 05 Dec, 2011 11:18 AM
Patches are welcome.
Support Staff 3 Posted by Luis Lavena on 07 Apr, 2012 01:44 PM
Latest Bundler uses the newer API endpoints.
To improve RubyGems itself, please send a pull request to the repository:
http://github.com/rubygems/rubygems
We would love to improve and get RubyGems improved, but we need your help.
Luis Lavena closed this discussion on 07 Apr, 2012 01:44 PM.