Permalink
Browse files

Checks presense of X-Edge-Location response header to match cdn

  • Loading branch information...
1 parent 7fa6d22 commit bd03413f7c138f24785c615ceb2b9c9dbd78dad0 Sajal Kayan committed Apr 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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'];
+ match = headers['x-cdn'] || headers['x-amz-cf-id'] || headers['x-edge-location'];
if (match) {
continue;
}

0 comments on commit bd03413

Please sign in to comment.