I'm using cloudflare CDN but Gtmetrix still gives me an F for this...
At first it didn't recognize cloudflare so I had to input the 2 nameservers cloudflare provided in my Gtmetrix account settings. I guess that's the correct way for it to recognize my CDN, correct?
Thanks
robzilla
11:21 am on Jan 28, 2020 (gmt 0)
I've tested a few CloudFlare-powered sites and Gtmetrix (YSlow, really) did automatically recognize them as such.
So long as you've confirmed by other means that CloudFlare is properly configured for your domain, I would just ignore Gtmetrix.
karlsult7
8:08 pm on Jan 29, 2020 (gmt 0)
To configure it properly I input the 2 nameservers that Cloudflare provides? The same ones I put in my domain registrar to point domain to their servers...
robzilla
6:16 pm on Jan 30, 2020 (gmt 0)
For CloudFlare users, YSlow should automatically detect the CDN usage if it's set up correctly and you've given it enough time for the DNS to propagate (typically takes up to 2 days).
If you're using custom hostnames with CloudFlare, however, maybe you do need to enter those. Probably not the nameservers, because you can use the CloudFlare nameservers without the CDN.