Support request gzip content. #40

Merged
merged 1 commit into from Mar 12, 2014

Projects

None yet

7 participants

@fengmk2
fengmk2 commented Mar 1, 2014

Current CDN almost support auto gzip text base content mirrors.
e.g.: http://registry.qiniudn.com/npm
It can save ~650kb through gzip 700kb json content to 38kb.

image

@fengmk2 fengmk2 Support request gzip content.
Current CDN almost support auto gzip text base content mirrors.
e.g.: http://registry.qiniudn.com/npm
It can save ~650kb through gzip 700kb json content to 38kb.
93a5580
@fengmk2
fengmk2 commented Mar 1, 2014

If no gzip content support, $ npm info npm was very slow outside of US regions, e.g. in China.
image

@fengmk2
fengmk2 commented Mar 1, 2014

@isaacs ping

@haosdent
haosdent commented Mar 1, 2014

+1

@rlidwka
rlidwka commented Mar 1, 2014

+1

@aleafs
aleafs commented Mar 1, 2014

+1

@A-limon
A-limon commented Mar 1, 2014

+1

@fengmk2 fengmk2 referenced this pull request in cnpm/cnpmjs.org Mar 3, 2014
Closed

gzip json reponse support #241

@finian
finian commented Mar 4, 2014

+1

@fengmk2
fengmk2 commented Mar 7, 2014

@isaacs any suggestions?

@isaacs isaacs merged commit 93a5580 into npm:master Mar 12, 2014
@fengmk2
fengmk2 commented Mar 12, 2014

Cool!
2014年3月12日 PM1:09于 "Isaac Z. Schlueter" notifications@github.com写道:

Merged #40 #40.


Reply to this email directly or view it on GitHubhttps://github.com/npm/npm-registry-client/pull/40
.

@fengmk2 fengmk2 deleted the fengmk2:request-gzip-content branch Mar 12, 2014
@rlidwka rlidwka referenced this pull request in rlidwka/sinopia Mar 12, 2014
Closed

need to support gzip #54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment