Cloudflare broke my site

Beklink

Elite Member
Jr. Executive VIP
Jr. VIP
Joined
Jul 4, 2020
Messages
4,724
Reaction score
3,835
Hey, wanted to add my site to cloudflare because I read that it will speed my site. Since I use WP-rocket I didn't turn Minify ccs, html or JavaScript on in cloudflare.
I have 100 Score on mobile and desktop but i can't see the images or css on my website at all and everything looks broken?

How can I fix this ?
 
Check the image URLs, are they working?

Are you using lazyload with some javascript that doesn't load perhaps?

Since you're using cloudflare, maybe it's just some old cache error. Empty the cloudflare cache.
 
Check the image URLs, are they working?

Are you using lazyload with some javascript that doesn't load perhaps?

Since you're using cloudflare, maybe it's just some old cache error. Empty the cloudflare cache.
Images are uploaded on site
Everything was fine until cloudflare
I already emptied the cache
 
Disable Wp Rocket, clear the cache and try to tweak with the settings a little bit. There is a possibility that two similar settings between them are just conflicting with each other.
 
Disable Wp Rocket, clear the cache and try to tweak with the settings a little bit. There is a possibility that two similar settings between them are just conflicting with each other.
I disabled wp rocket but nothing happened
 
Did you clear the cache on every end, meaning wp-rocket, Cloudflare, and also your own browser?
 
Did you clear the cache on every end, meaning wp-rocket, Cloudflare, and also your own browser?
Yeah, cleared cache on cloudflare and wp-rocket and used a new browser + a private one and its still the same.
Now I deactivated wp-rocket and remove the site from cloudflare but still it's not fixed.
 
Yeah, cleared cache on cloudflare and wp-rocket and used a new browser + a private one and its still the same.
Now I deactivated wp-rocket and remove the site from cloudflare but still it's not fixed.
Its not from cloudflare search the problem somewere else and also wait until dns update
 
Its not from cloudflare search the problem somewere else and also wait until dns update
The problem is cloudflare since it happened when i connected my site to cloudflare
 
You don’t use cache plugins if you want to add your site into cloudflare platform
 
It sounds like you have Mixed Content.

Is your website HTTPS or HTTP? Could be mixed content, meaning that some stuff might be HTTP, other HTTPS, therefore some stuff will not load. Make sure your website is either fully HTTP or HTTPS.
 
It sounds like you have Mixed Content.

Is your website HTTPS or HTTP? Could be mixed content, meaning that some stuff might be HTTP, other HTTPS, therefore some stuff will not load. Make sure your website is either fully HTTP or HTTPS.
site is fully https
 
What does the Browser Console return? Any 404's, 403's?
 
I have on my website jetpack cdn +jetpack boost enables
cloudflare cache plugin

In cloudflare I have two rules: cache everything
and wp-admin cache bypass

But cache everything my site loads in mobile and on desktop with an blink of an eye 0,5 seconds, ttfb speed is fantastic see both screenshots desktop,second screenshot on mobile phone.

Cloudfares rule cache everything is not for everyone, some wp themes will break, had this experience with some of my clients who hosted on ionos I can not say if it's caused by ionos or by the wp theme.

You can tray it to see if that works for your site, when it works you will impressed by the immense speed boost!
on android ttfb from 50ms to 110ms
on desktop ttfb from 150- 250ms (both screenshots from keycdn performance tool)

and I be on low entry fastcomet wordpress hosting plan.
I hope that cloudflare is not bad for my seo rankings and this cache everything rule will not bad for my seo too.

When you decideto go to DO or Vultr your speed will not be faster , or otherwise you will get same speed without need cludflare/ or other cdn.

When you site is getting errors on cloudflare, remove it then add it again, check if you have set the cloudflare nameservers on your domain registrar. Maybe use another cdn provider who has a wordpress plugin where you insert the cdn cname url ( I find this better as changing nameservers).
 

Attachments

  • screen-desktop.png
    screen-desktop.png
    118.1 KB · Views: 7
  • ttfb-mobile.png
    ttfb-mobile.png
    111.2 KB · Views: 7
Ok I must reverse...
this cloudflare cache everything rule cause a lot of trouble...

my website loads good and blazing fast but I can login into wp admin without username and password login, that is not ok.
So I must remove this rule maybe it's only working on the higher CF plans.

Now I search for another replay good fast managed Wordpress hosting in the $12-16 /monthly price range not on that $3-8 monthly.
 
Back
Top