| ▲ | iLoveOncall 5 hours ago | |||||||||||||
I don't give a penny to CloudFlare to be clear, and I would definitely not pay for those services for my blog. It's not because it's not a criticism that it's a sponsored post. I happen to have multiple sites that use the same technology (WordPress, with the same few plugins and the same theme) running on the same server, with one behind CloudFlare and one not. Left value is with CloudFlare, right is without: - First Contentful Paint: 0.4s - 0.7s - Largest Contentful Paint: 0.8s - 0.9s - Total Blocking Time: 0 ms - 0 ms - Cumulative Layout Shift: 0 - 0 - Speed Index: 0.4s - 8.9s The difference is quite staggering, and I'm located pretty close to my server (a Hetzner VPS), I can't imagine the difference for someone that lives across the world. | ||||||||||||||
| ▲ | viraptor 4 hours ago | parent | next [-] | |||||||||||||
There's no CF magic here. If you're improving from 0.4s to 8.9s that means you're not doing basic caching on your side and you could achieve this in your local nginx/whatever as well. The 0.3s saving on first paint is nice, but could be achieved with putting your assets in any kind of distributed provider, not just CF. | ||||||||||||||
| ||||||||||||||
| ▲ | watermelon0 5 hours ago | parent | prev | next [-] | |||||||||||||
I'm quite sure something else is going on here. Adding another hop generally shouldn't improve performance, especially if you are close by to the server. What are the response times of requests between CF and accessing them directly? | ||||||||||||||
| ▲ | encom 5 hours ago | parent | prev [-] | |||||||||||||
Sure, but your post reads like an infomercial, hence the snark. NARRATOR: - "Has THIS ever happened to you?" CUT TO: Black-and-white. Some guy stares in frustration and confusion at a terminal. Output of 'cat /usr/bin/gcc | xxd' or whatever scroll by. NARRATOR: - "Introducing CloudFlare™!" CUT TO: Full color. Sunlight. The same guy now sprawled on grass at a park. Two dogs tackle him with adoration. His kids hand him ice cream. NARRATOR: - "Stop debugging. Start living." | ||||||||||||||
| ||||||||||||||