Performance recommendations don't detect CloudFront as CDN

The performance recommendations don’t seem to correctly identify CloudFront embedded resources.

For example:

It detects the whole site as being on CloudFront, but not those images.

Looking specifically at the requests:

They’re definitely via CloudFront:

Hmm, thanks. I think you may have hit an edge condition where the browser didn’t do a DNS lookup for that domain because the base page was CNAME’d to it and my code was depending on the DNS lookups to identify the CDN.

I just added the cloudfront via header as a fallback for detection. It will probably be a few days before it is live on the production system but it should be fixed soon.