Advantages and Limitations of CloudFlare

Posted on September 8th, 2016

CloudFlare ( is a commercial content delivery network with integrated distributed denial of service (DDoS) defense. As it acts as a reverse proxy and domain name server to your website, it can provide a useful IPv6 transition mechanism if your hosting provider doesn’t provide native IPv6. Similarly, as with other opposite intermediaries. For example, Squid and Varnish, there are design issues with any server that spots itself in-line between the client and Apache. CloudFlare should be advised what to reserve (and when to dispose of obsolete substance) and should be advised not to supplant Apache’s custom 404 page (which welcomes the client to make a missing article) with its own “SmartErrors” page. In this manner, Apache should know about any mediating trusted intermediaries to guarantee that the client’s IP address (and not that of CloudFlare’s servers) is recorded in Special:RecentChanges or logged by Extension:CheckUser.


How CloudFlare Works

When CloudFlare is empowered for your site, it is assigned as your legitimate name servers; this permits CloudFlare to clean and quicken your movement as all solicitations to your site are currently steered through CloudFlare. With system steering innovation and 23 server farms available, CloudFlare can:

1) Bring guests the speediest association conceivable. CloudFlare’s worldwide Anycast system courses clients to the nearest datacenter, bringing about your site stacking twice as fast for your guests regardless of where they are.

2) Screen your site’s movement for malignant guests. CloudFlare gets demands for your site and breaks them down to figure out whether a guest is dangerous taking into account the guest’s IP, the asset being asked for, the payload being posted and how every now and again demands are being made. Malignant guests are blocked while those who are good can rapidly get to the pages they request.

3) Store static substance on your webpage. CloudFlare reserves static substance on your site like pictures, JavaScript and CSS, yet not HTML. Stored substance is revived much of the time and conveyed straight to guests from a neighborhood CloudFlare server farm at a quick speed.  When information is not capable of being stored, CloudFlare can react to demands pretty much as quick by utilizing premium courses.

4) Advance your web content. Rocket Loader innovation is incorporated into all CloudFlare arrangements (even the free one) and helps your site effectively process demands for 3rd party scripts like applications, gadgets and labels. Rocket Loader guarantees that no script obstructs your page content from stacking by packaging all script demands into a solitary demand and stacking them each one in turn.


Advantages and limitations

CloudFlare does not charge per megabit/second, per gigabyte, or terabyte of information exchanged; (starting 2014) the fundamental administration, with a few constraints, is free. For locales accepting high-volume demands for the same unaltered substance, (for example, pictures, which normally represent more than 80% of transfer speed costs) putting a bustling space behind an administration like CloudFlare can significantly lessen its expense of operation. As less demands are being made to the root servers, now and again the site may run quicker. Singular site visit counters are broken under CloudFlare, as most demands never achieve the birthplace servers and the individual wiki site proprietor does not have entry to CloudFlare’s logs. CloudFlare provides examination to tell what number of visit your site, yet not on a for per page premise. The free form of CloudFlare is constrained in its SSL capacity. A paid adaptation ($20/month per space, no restriction on number of subdomains) gives to some degree better SSL support. However substance would even now be unscrambled and re-encoded at CloudFlare’s servers. A potential ‘man in the middle’ weakness. CloudFlare takes control over DNS for your whole space. There might be an issue on the off chance that you utilize areas in which individual subdomains are imparted between clients to an administration like or in the event that you utilize different administrations which hope to be your DNS supplier. CloudFlare places your site behind various anycast servers in different nations. This can be leverage if being topographically nearer to your clients makes your site seem quicker, however can be a lawful detriment for destinations which are focuses of defamation tourism or are managing in politically-delicate matters. A WikiLeaks-like site won’t not need a US server in the information way if examining touchy data about US insight offices. A site talking about exercises legitimate in its own particular nation, however illicit in one or another. CloudFlare server areas may likewise wish to abstain from utilizing the administration and keep their substance appropriation system at home. Like any outsider, free or paid administration, there exist the danger that what is free today turns into a costly paid administration tomorrow. Be set up to switch your area enrollment’s DNS sections back to your unique administration (or another supplier) if the “freemium” CloudFlare administration leaves later on. CloudFlare does not perform well in China as the Incomparable Firewall frequently pieces’ movement from CloudFlare servers.


Error 404 handling

As a matter of course, CloudFlare empowers an “element” which it brands as Smart Errors. This replaces the beginning webpage’s ‘blunder 404’ pages with a CloudFlare seek page which records other, related pages which do exist on the same website and permits the client to look. This “savvy blunder” page, which shows in US English rather than your webpage’s nearby dialect, may contain publicizing or direct clients to dark, minimal known outer web indexes.


Anonymous IP user identification

On the off chance that a client associates straightforwardly to Apache the client’s IP location is accounted for by PHP in $_SERVER[‘REMOTE_ADDR’] and no further setup is required to get the data into Special:RecentChanges


Installing mod_cloudflare in Apache

This leaves mod_cloudflare as the least complex presently accessible alternative. This module, downloadable pre-accumulated for different circulations from CloudFlare’s webpage, is introduced specifically into Apache. It reestablishes the first client’s IPv4 or IPv6 address if CloudFlare is associating with Apache specifically. (In the event that the Apache server is sitting behind Squid, and that thus is behind CloudFlare, the IP addresses in recent changes will break). A rundown of fourteen IPv4 and IPv6 extends at present utilized by CloudFlare’s servers is hard-coded in the module’s source code. Starting 2015, RHEL/CentOS 5/6, Debian 6/7 and Ubuntu 12.04 are bolstered by mod_cloudflare with CloudFlare’s bundles; different circulations, (for example, CentOS 7) are not yet upheld. Introduce an obsolete mod_cloudflare into the Apache server packaged with the most recent OS appropriations, (for example, RHEL7, starting 2015) and the web server likely will neglect to begin, tossing mistakes. In case you’re running a good dispersion, however the bundle director declines to introduce mod_cloudflare with “off base GPG key”, reinstall the key and expel the old key utilizing (for. rpm disseminations):

Rpm –import

Rpm –e gpg-pubkey-8e5f9a5d-*


If you need any further assistance please contact our support department.



4 Responses to “Advantages and Limitations of CloudFlare”

  1. Himagain says:

    This article on Cloudflare was quite interesting – and even readable for an old non-geek like me. 🙂
    It seems to be an excellent solution for SBO’s (Smaller Business Owners) to gain better circulation speeds and importantly – much higher than normal security, if I’ve read correctly.
    So, why isn’t it automatically setup/offered as a part of Hosting basic services?
    A bit like the new SSL free service – for CPanel Hosted Sites. Should be automatic!

    • Cloudflare does have many advantages, but can introduce some unexpected things that a webmaster may not expect.

      For example:
      * a change on the site may not appear right away (due to caching)
      * cloudflare may make it harder to debug some some errors
      * cloudflare could also go offline (this is rare)

      So currently InterServer leaves it up to the webmaster if they want to add it in.

      • jack rigby says:

        Thanks, John.
        Cloudflare does sound like “free Icecream” at first to us non-`geeks. 🙂
        But, it seems to me that you guys already put most goodies in your Services – even at your low prices!
        Obviously, you people are only doing all this Hosting as a hobby…

        All the best for 2017!

  2. Anoop Kumar says:

    How to fix Timed out error( Error Code 524) on cpanel server with cloudflare proxied dns

Leave a Reply