Notes on Hooking Up a Website With Cloudflare
Published on September 3, 2024, filed under Development (RSS feed for all categories).
As mentioned in my last episode of âWebsite Optimization Measures,â I played around with Cloudflare.
Superquick notes. Why? Happy if they help anyone. Also: Happy if I overlooked something and you can tell me what.
-
My goal was to test whether Cloudflare could be an easy, elegant solution to improve global performance of my websites on shared hosting. (They are pretty optimized but TTFB is an issue.)
-
I performed this test with Cloudflareâs free plan. (I would put money on the table, but if it could work for free, even better.)
-
I tested with a dedicated, minimal test website hosted at DreamHost, and an established one hosted at ALL-INKL.
-
First issue I observed was around redirects. It could be solved by adjusting certificate settings.
-
Second though half an issue was that Cloudflareâs free-plan support is swearword. Itâs non-existent. (I have a post come up that describes how this support philosophy can really f you up. âYou,â that is both you as the user and you as the business.)
-
Third issue was figuring out where and how to set up DNS entries. That wasnât obvious (to me), but sure, these are to be set on Cloudflareâs end. (CNAME entries must not be proxied.)
-
Results were odd (and itâs where my thinking may have been too lazy). I monitored the Speed Index of the two sites on five continents. In one case, Cloudflare led to a faster average Speed Index 5 times, and a slower one 4 times. In the other case, Cloudflare led to improvements in all cases. The improvements were up to 100 ms and 10%.
-
Although I still havenât taken the time to go through and understand the mixed results for that one domain, Iâve decided that the 10% saving was not worth the hoops to jump through to put Cloudflare in front of all domains, and to risk being without support, or on an expensive plan. (For now.)
-
An option to improve Cloudflareâs impact popped up later (hat tip Xi Zhu), in that Cloudflareâs caching could be optimized. I didnât explore this further.
Quick notes. Happy if anything here was of interest, stoked if someone can poke into my thinking đŹ
About Me

Iâm Jens (long: Jens Oliver Meiert), and Iâm a web developer, manager, and author. Iâve worked as a technical lead and engineering manager for small and large enterprises, Iâm an occasional contributor to web standards (like HTML, CSS, WCAG), and I write and review books for OâReilly and Frontend Dogma.
I love trying things, not only in web development and engineering management, but also in other areas like philosophy. Here on meiert.com I share some of my experiences and views. (I value you being critical, interpreting charitably, and giving feedback.)
Read More
Maybe of interest to you, too:
- Next: Notes on Setting Up a Static Website With AWS (Route 53, S3, ACM)
- Previous: Imposing on Hearing
- More under Development
- More from 2024
- Most popular posts
Looking for a way to comment? Comments have been disabled, unfortunately.

Get a good look at web development? Try WebGlossary.infoâand The Web Development Glossary 3K. With explanations and definitions for thousands of terms of web development, web design, and related fields, building on Wikipedia as well as MDN Web Docs. Available at Apple Books, Kobo, Google Play Books, and Leanpub.