I’ve created a wordpress a few weeks ago (OVH server and domain), then decided to use Cloudflare to redirect a subdomain to my shop.
Everything worked as planned concerning the redirection and CDN for my main website.
But I noticed than the first loading of my website was taking a lot of time, like 20-30 seconds. So I performed GTmetrix and SpeedInsight and both were pretty good (97/100 for Insight and 85/100 for metrix). I deduced that it wasn’t an issue of wordpress optimization).
My website was loading whether instantly, or 20-30 seconds without anything happening then instant loading of the website.
I then switched off Cloudflare and went back to OVH servers. And tada, no issue, instant loading anytime.
So I know the issue comes from Cloudflare.
I would need Cloudflare for this subdomain redirection but obviously I can’t allow my website to have a 20-30 seconds first loading.
Do you guys have an idea of where the issue could come from?
Here’s my Cloudflare DNS record (right now I’m not using Cloudflare services):