How does CloudFlare work?
CloudFlare is a network of data centers that sits between your web server and the rest of the internet. As a WordPress user, your customers web content will live on a our web server, or what I’ll call an origin server. Visitors wanting to visit your customers’ web pages will navigate their browser to their site and instead of going direct to the origin server, websites with CloudFlare will direct traffic to the CloudFlare network instead.
This does two things: CloudFlare can serve cached static web content to the visitor, and screen visitors to make certain they are good and not traffic coming from an attack, malicious bots, or other bad things. Because CloudFlare’s network is made up of 32 global data centers, that means we can serve your visitors web content very fast regardless of the distance between your origin server and the viewer.
What is static content and why would I want it cached?
Who can use CloudFlare?
Anyone who has a web page who wants to increase performance and security. That can be WordPress blogs (or any kind of CMS platform), eCommerce sites, personal websites, company websites. Just about anything.
How do you know who is bad traffic and how do you protect me from it?
CloudFlare sees a lot of internet traffic, over 5% of the internet. We can tell what traffic is coming from what IPs and if we detect that and IP address is causing attack traffic, like a DDoS attack, we can rank it for security risk. We use our own IP reputation ranking in conjunction with 3rd party rankings to develop a threat ranking and depending on what settings you select, will screen out or challenge some of those visitors.
What’s even better, CloudFlare is very robust and works as an Anycast network. This means that web traffic is routed through CloudFlare in the most efficient way possible and isn’t dependent on certain pathways. So if, for instance, someone on CloudFlare is getting DDoS attacked, we can keep their website up and available because we have a lot of flexibility on how we get the good traffic to their origin server.
How do I activate CloudFlare?
It’s easily done through the control panel. Under the Manage Domains section you can either edit a current domain or add a new domain and choose the CloudFlare options from here. And that’s pretty much it. You’ll have more granular options at www.cloudflare.comonce you’ve activated the service.
You cache static content, but what if a website has content that’s customized or constantly changing?
That’s correct, CloudFlare is designed as a next-generation CDN which caches and serves up at each data center around the world, so visitors are very close to your website regardless of where they are. But we also have a way to greatly increase delivery of dynamic content as well. We call it Railgun.
Railgun is a dynamic content accelerator by acting as a WAN, creating a secure tunnel connection between our server and the CloudFlare network. This means we don’t waste time by creating new handshakes, setting up new routing protocols as CloudFlare is updating. What’s more, Railgun works similar to video compression where only the changed bits are updated. This greatly reduces the amount of data that’s transferred and speeds up the dynamic content delivery. That content is then refreshed in CloudFlare and served to your visitor along with the static content which was already cached at the network edge.
Bottom line, Railgun can speed up that hard to cache dynamic content by 200x and does so with a 99.6% compression rate. And Railgun is free for all Neon Blvd clients.
Does CloudFlare do anything else to speed up the delivery of web content?
In addition to eliminating speed of light restrictions by moving the web content closer to your visitors via a CDN, CloudFlare also optimizes the way the content loads for your visitor. We have a few neat technologies which streamline the data. For example, we use AutoMinify, a method to remove all the extraneous html code such as comments and whitespace from web content before the data is sent over. This minimizes the space needed and speeds up delivery.
For mobile sites, our network pre-formats images to fit whatever device is requesting the content in a technique we call Polish. Mobile devices are sent over smaller images which fit best and decreases the amount of data transfer. This is coupled with another technology called Mirage, which quickly loads the viewable content first and then fills in the rest – the unviewable page – later. This gives rapid loading for the needed content to keep the user experience consistent.
My site gets intermittent traffic spikes, can CloudFlare help with this?
Absolutely. We have a lot of customers who depend on us for jumps in traffic, caused by advertising campaigns or seasonality. Because CloudFlare doesn’t charge for bandwidth, there’s no extra or unexpected cost. What’s more, CloudFlare’s caching technology reduces your bandwidth usage.
How can CloudFlare help me if I’m under attack?
If you believe that you are undergoing a DDoS attack, CloudFlare offers all customers the option of ‘I’m under attack mode’. This will immediately put in place a challenge captcha page for all visitors. Outside of those times, CloudFlare’s Threat Control means you can select different security levels based on our IP reputation database. In addition, CloudFlare allows you to block countries or IP ranges if you don’t wish to have traffic from those sources.
What should I do when I make edits to my webpage?
If you are making edits to your web pages and want to refresh what is currently cached in CloudFlare, you can manually purge the cache from your account at www.cloudflare.com.Once you’ve logged in, you can navigate to the General Preferences area of your account and click the green Purge button. This will erase your cache that is currently on CloudFlare almost instantly. Now your new content will begin to cache!