More about Cloudflare
I mentioned yesterday that I added CloudFlare to this site. CloudFlare is a proxy service that provides caching, minification and security for websites. I was more than a little nervous about turning it on, but it seems to be working wonderfully (at least from my part of the world). As all I've really changed is my DNS servers (no code changes on your site at all) this would be trivial to turn off if I needed to.
The pricing is good, starting at free. I chose the $20 a month plan, which is quite suitable for me, but they do have larger plans for bigger sites.
I said I made no changes to my site, but I did add an Apache module to keep my logs accurate. If you don't care about your raw Apache logs (for example you get all you want to know from Google Analytics), you wouldn't bother. Your Apache access.log would have Cloudserver IP addresses rather than that of your real visitors without that module. You'd still know which pages were accessed; you just wouldn't know by whom.
Wait - didn't I say this was a caching proxy service? Wouldn't your real visitors get their pages from Cloudflare's proxy servers?
Whatever - from what I can tell, my pages are loading faster. There's no interference with things like Google Analytics, and if their security isn't as whiz-bang as a a manual configuration of mod_security could be, it's better than not having anything (which was exactly what I had).
CloudFlare shows me what it thinks it has speeded up:
Initially, these charts confused me. In the time period covered, there were a lot more visits than shown there. Possibly that's because the DNS change hadn't fully propagated yet, A few days later the charts looked more accurate.
Cloudflare explains that the data may actually seem too high. They note:
Proxying affords the opportunity to add apps and features without adding code to your actual pages. CloudFlare has a number of such apps, some free, some requiring subscription. I added the "old browser warning" app and Trumpet, which lets you add a site wide message instantly. I could have used that to tell visitors about the change to CloudFlare or about expected outages due to planned updates and so on.
So, it's all in place and we'll see what happens. Please do let me know if you notice any odd behavior!
Got something to add? Send me email.
(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version
Increase ad revenue 50-250% with Ezoic
Inexpensive and informative Apple related e-books:
Take Control of Automating Your Mac
Take Control of Upgrading to Yosemite
Take Control of Upgrading to Mavericks
Take Control of Pages
Take Control of the Mac Command Line with Terminal, Second Edition