Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #35 from sajal/master

ChinaCache validation for ycdn
  • Loading branch information...
commit 50a5bb8d786bf622630daf442410f178ba17daf6 2 parents cf3986c + b781a03
Marcel Duran authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/common/rules.js
2  src/common/rules.js
View
@@ -167,7 +167,7 @@ YSLOW.registerRule({
}
// experimental custom header, use lowercase
- match = headers['x-cdn'] || headers['x-amz-cf-id'] || headers['x-edge-location'];
+ match = headers['x-cdn'] || headers['x-amz-cf-id'] || headers['x-edge-location'] || headers['powered-by-chinacache'];
if (match) {
continue;
}
Please sign in to comment.
Something went wrong with that request. Please try again.