Cloudflare CDN not working
When we are visiting the GoComet Website www gocomet.com
it’s being cached, but the IP address shown is not from Cloudflare and is our own IP address. And checking it on CDN Planet shows that CDN is not implemented.
Online tool for testing: www.cdnplanet.com
22 Replies
Do you have the site proxied? (Orange cloud on)
Yes for gocomet.com it's being proxied
For www it's DNS only
So that would be why then you have to have the proxy on for it to use cloudflare ips and the CDN to be implemented
But I have some internal subdomains too, for them I want DNS only.
Data is being cached on cloudflare but only IP is our's
That isnt possible
that isn't www
that's the apex which is proxied
Yes for www here is the SS
Yep that isn't Cloudflare, no CF headers
You'll need to proxy the record to hit us
So for adding proxy for
www
, it has to be added for A record only. Or also for AAAA and CNAME ?You can't have an A/AAAA and a CNAME on the same host, what's the CNAME?
but yes, you need to proxy the A and AAAA (assuming that's what powers
www
- if it's just the CNAME then proxy that)Ok understood, CNAME and A will not be there for same name.
Thank you so much, will try adding proxy for A record
Ok I have another doubt
Our blogs page are also within same domain and built on wordpress. How are they getting Cloudflare headers
@leodeveloper Can you explain is detail?
Ok
when checking network tab of /blogs/, we are getting a header i.e., Cf-Edge-Cache | cache, platform=wordpress
which indicates that WordPress plugin is installed and enabled.
For caching we must also get CF-Cache-Status |HIT header, which displays if the asset is served from the cache or was considered dynamic and served from the origin.
So is this information correct ?
yes in both cases cloudflare is coming as server
There is a sudden spike in cache dashboard, is this ok ??
ok understood
On main website it's working perfectly, but on blogs it's showing EXPIRED and API-via: origin.miss
Is line number 14 an issue here ?
This is also coming under the same domain
It's getting cf headers but those are shown as missed
Or expired