What Cloudflare is

Cloudflare is an American company and a service used by a large share of the world’s websites. It acts as an intermediary between the visitor and your server: requests first pass through the Cloudflare network, which checks them and delivers whatever it can itself from the nearest data centre. Only then does it go to your hosting.

The result is a faster and more secure website, often without touching its code.

What Cloudflare does

  • CDN – images, styles and scripts are stored on hundreds of servers around the world, and visitors get them from the nearest location. More under CDN.
  • DDoS protection – it catches floods of fake requests before they bring your server down.
  • Web application firewall (WAF) – it blocks known types of attack, suspicious bots and password-cracking attempts. More detail under firewall.
  • DNS – fast, reliable management of your domain’s DNS records.
  • SSL certificate – free HTTPS for every website.
  • Optimisation – compression, file minification and the modern HTTP/2 and HTTP/3 protocols.
  • Turnstile – an unobtrusive replacement for the classic CAPTCHA on forms.

How to switch Cloudflare on

You move a website to Cloudflare by changing the nameservers at your domain registrar to Cloudflare’s. From then on Cloudflare manages the DNS and can filter and speed up traffic. Neither the hosting nor the website changes. Before switching, it is important to carry over all existing DNS records, especially those for email, otherwise your mail may stop working.

How much Cloudflare costs

The basic Free plan costs nothing and is usually enough for small and medium-sized businesses – it includes the CDN, DDoS protection, SSL and DNS. Paid plans add advanced firewall rules, image optimisation and support.

What to watch out for

  • For online shops and logged-in users, you need to set correctly what may be cached – not the basket or the account.
  • After editing the website, you sometimes need to purge the cache for the changes to show.
  • Cloudflare does not replace backups or updates – it only deals with traffic going to the site.
  • If Cloudflare goes down, websites that use it can become unavailable too – this happens rarely.

I can set up Cloudflare for you

When speeding up a website, I configure Cloudflare properly together with server-side caching. If your site has been hacked, I can also help with virus removal and with protection so the attack does not happen again.