Browse files

Merge pull request #35 from sajal/master

ChinaCache validation for ycdn
  • Loading branch information...
2 parents cf3986c + b781a03 commit 50a5bb8d786bf622630daf442410f178ba17daf6 Marcel Duran committed Jun 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/common/rules.js
View
2 src/common/rules.js
@@ -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;
}

0 comments on commit 50a5bb8

Please sign in to comment.