Hostinger CDN vs Cloudflare: Which One Should You Use?

Hostinger CDN vs Cloudflare comes down to one rule: use one or the other, not both. Keep Hostinger CDN if your domain uses Hostinger’s nameservers and you want a CDN with no set-up; it is included in Hostinger web hosting and switches on from the dashboard. Choose Cloudflare if you want its DNS, firewall rules or HTML caching rules, or you run sites on more than one host. Hostinger says running Cloudflare in front of Hostinger CDN is not a supported setup.

Below: what each one does, how to check which one your site is using right now, and how to switch safely.

Title card: Hostinger CDN vs Cloudflare, pick one, with the header each one sends: x-hcdn-cache-status and cf-cache-status, not both at once

How I worked this out: I run WordPress sites on Hostinger with each setup. This site, harshilbarot.com, uses Hostinger CDN; justwebworld.com, another Hostinger-hosted WordPress site I manage, has Cloudflare in front instead. On 26 October 2026 I read the response headers of both and timed 20 requests to this site from Chrome in India. What each CDN offers comes from Hostinger’s help pages and documentation and from Cloudflare’s plans page and developer docs, checked the same day. I did not measure the two sites against each other for speed: they are different sites, so that would not be a fair test. This guide has no affiliate links.

Key takeaways

  • Use one CDN. Hostinger says only one should be enabled at a time, and that Cloudflare in front of Hostinger CDN is not supported.
  • Hostinger CDN costs nothing extra on Hostinger web hosting and is turned on under Websites → Dashboard → Performance → CDN.
  • Cloudflare’s Free plan adds DNS, unmetered DDoS protection and a free managed WAF ruleset, but it does not cache HTML by default.
  • Your response headers tell you which one is live: x-hcdn-cache-status for Hostinger CDN, cf-cache-status for Cloudflare.
  • Switching to Cloudflare? Turn Hostinger CDN off first, or you risk redirect loops and SSL errors.
Table of Contents
  1. 1Hostinger CDN vs Cloudflare at a Glance
  2. 2Can You Use Hostinger CDN and Cloudflare Together?
  3. 3How to Check Which CDN Your Site Uses
  4. 4When to Choose Hostinger CDN
  5. 5When to Choose Cloudflare
  6. 6How to Switch from Hostinger CDN to Cloudflare
  7. 7Troubleshooting After a CDN Change
  8. 8Frequently Asked Questions
  9. Is Hostinger CDN free?
  10. Is Hostinger CDN better than Cloudflare?
  11. Can I use Cloudflare with Hostinger?
  12. Should I disable Hostinger CDN if I use Cloudflare?
  13. How do I know if Hostinger CDN is working?
  14. Does Cloudflare’s free plan cache WordPress pages?

Hostinger CDN vs Cloudflare at a Glance

Hostinger CDNCloudflare (Free plan)
CostIncluded in Hostinger web hosting, Cloud and Agency plans; not on VPS$0; Automatic Platform Optimization (APO) for WordPress is a $5/month add-on
Set-upA switch in the Hostinger dashboardAdd the site in Cloudflare, change nameservers at your registrar, check DNS records
NameserversHostinger’s nameserversCloudflare’s nameservers
HTML pagesDocs say PHP pages are never CDN-cached (but see below)Not cached by default; needs a cache rule or APO
SecurityDDoS resilience, a threat-score challenge, IP and country blocking, a TLS 1.3-only optionUnmetered DDoS protection, Free Managed Ruleset (WAF), simple bot protection
ImagesWebP conversion and smart image sizingNot compared here
Clearing the cacheFlush cache (whole site)Purge from the Cloudflare dashboard, or automatically from LiteSpeed Cache
NetworkNo location count publishedCloudflare lists more than 300 cities
From Hostinger’s help pages and docs and Cloudflare’s plans page and developer docs, checked 26 October 2026. Prices change; check the vendor pages before buying.
Comparison table of Hostinger CDN and Cloudflare Free: cost, set-up, HTML caching, security, images, network, purge and nameservers

Hostinger’s own pages disagree slightly on which plans include the CDN: its support article says all web hosting plans plus Cloud and Agency, while its developer docs say Premium and higher. Premium was the cheapest web hosting plan on Hostinger’s site on 26 October 2026, so in practice both point the same way, but check your own dashboard. Since August 2026 Hostinger switches the CDN on automatically for eligible web hosting sites and emails the owner first.

Can You Use Hostinger CDN and Cloudflare Together?

No, not in the usual “Cloudflare in front” way. Hostinger’s help page on this exact question says running Cloudflare in front of Hostinger CDN is not a supported setup, and that it rate-limits traffic it confirms is passing through both. The problems it lists are redirect loops from conflicting HTTPS rules, stale content from two caches, and the wrong visitor IP addresses in analytics and security tools.

Diagram of three setups: Hostinger nameservers with Hostinger CDN (supported), Cloudflare nameservers with Cloudflare, Hostinger CDN off and records pointing to the hosting IP (supported), Cloudflare in front of Hostinger CDN (not supported)

This is a common way to end up with both by accident. Hostinger’s comparison page notes that a domain on Cloudflare nameservers can still send traffic through Hostinger CDN if its DNS records point at Hostinger’s CDN. While Hostinger CDN is on, your A, AAAA and www records point to the CDN instead of your server, so if Cloudflare copies those records when you add the site, Cloudflare ends up in front of Hostinger CDN. When you move to Cloudflare, make sure the records there point to your hosting server’s IP address.

How to Check Which CDN Your Site Uses

You do not need dashboard access for this. Open your site in a private window, press F12, go to the Network tab, reload, click the first request and read the Response Headers. Or run this in a terminal:

curl -sIL https://example.com/ | grep -iE "server|x-hcdn|cf-cache-status|x-litespeed-cache"

If curl returns 403 Forbidden, the site’s protection is blocking the command line (this site did that to my curl GET requests); use the browser method instead. On Windows, run the command in PowerShell or Git Bash, or drop the grep part and read the output.

You seeIt means
x-hcdn-cache-status and x-hcdn-request-idHostinger CDN is serving the site
cf-cache-status and cf-rayCloudflare is proxying the site
Both in the same responseTwo CDNs stacked, which Hostinger does not support
NeitherNo CDN on the page request (it may still serve images from one)
Header names from Hostinger’s CDN troubleshooting page and Cloudflare’s cache documentation.

Here are real responses from my two sites on 26 October 2026:

Real response headers: harshilbarot.com via Hostinger CDN showing x-hcdn-cache-status MISS then HIT, and justwebworld.com via Cloudflare showing cf-cache-status HIT with no x-hcdn headers
Captured 26 October 2026; request IDs left out.

What the headers showed. On this site, the first request for a page came back x-hcdn-cache-status: MISS with x-litespeed-cache: hit (the CDN fetched LiteSpeed’s cached copy from the server), and the same page 1.5 seconds later came back HIT from the same CDN edge. On justwebworld.com, Cloudflare answered with cf-cache-status: HIT and an age of 837 seconds, and there were no Hostinger CDN headers. That site has a Cloudflare rule that caches HTML; without one, Cloudflare’s docs say a normal WordPress page shows DYNAMIC.

Docs vs what I saw: Hostinger’s documentation says “Dynamic content (PHP pages, form posts, API responses) is never CDN-cached”. On this site, HTML pages were served as Hostinger CDN HITs on 26 October 2026: in 20 timed requests, the 8 answered from the CDN copy took 12–27 ms (plus one 196 ms outlier), against 281–678 ms for the 12 that went to the server. I do not know why the behaviour differs from the documentation, so check x-hcdn-cache-status on your own pages rather than assuming either way.

When to Choose Hostinger CDN

  • Your domain already uses Hostinger’s nameservers and you do not want to move DNS.
  • You want no set-up. It is one switch, and it may already be on.
  • You want image help without a plugin: WebP conversion and smart sizing are in its settings.
  • You prefer one support desk. Hosting, DNS and CDN problems all go to Hostinger.

To turn it on or off: Hostinger dashboard → Websites → Dashboard next to your site → Performance → CDN. The same page has Flush cache (clears the CDN’s copies for the whole site) and Development mode (bypasses the CDN cache while you test changes). Hostinger notes that Development mode only affects the CDN; your server and plugin caches still apply. My Hostinger review covers Hostinger’s plans in more detail.

When to Choose Cloudflare

  • You want Cloudflare’s DNS and security tools, such as the free managed WAF ruleset and your own firewall (WAF) rules.
  • You want HTML cached at the edge with your own rules, through a Cache Rule or the paid APO add-on for WordPress.
  • You run sites on several hosts and want one dashboard for all of them.
  • You are on a Hostinger VPS, where Hostinger CDN is not included.

Hostinger says Cloudflare’s DNS, CDN, firewall and Universal SSL work on all its hosting plans. There is no one-click Cloudflare integration in the Hostinger dashboard; you connect the domain yourself by changing nameservers.

How to Switch from Hostinger CDN to Cloudflare

  1. Turn Hostinger CDN off first (Performance → CDN → Disable). Hostinger warns that skipping this step can cause redirect loops and SSL errors during the change.
  2. Add the site in Cloudflare and check the imported DNS records. Make sure the A, AAAA and www records point to your Hostinger server’s IP, not to Hostinger’s CDN, and re-add anything missing, such as email (MX) and DKIM records.
  3. Change the nameservers at your domain registrar to the two Cloudflare gives you. Hostinger’s guide allows up to 24 hours for the change.
  4. Check the SSL/TLS mode in Cloudflare and use Full (strict) if your Hostinger SSL certificate is valid. Cloudflare strongly recommends Full or Full (strict); in Flexible mode, the connection from Cloudflare to your server is not encrypted.
  5. Check the headers: you should now see cf-cache-status and no x-hcdn-* headers.

If you use LiteSpeed Cache, its CDN → Cloudflare tab can connect to your Cloudflare account with an API token, so you do not need a separate Cloudflare plugin (unless you use APO, which Cloudflare says needs its own WordPress plugin). Turn on Clear Cloudflare cache there and Cloudflare is purged whenever LiteSpeed runs Purge All. My guide to purging LiteSpeed Cache explains which purge clears what.

Going the other way, from Cloudflare back to Hostinger CDN, means pointing the nameservers back to Hostinger first and then enabling the CDN.

Decision checklist: keep Hostinger CDN or choose Cloudflare, never run both, check headers, use Full strict SSL, purge the right layer

The checklist in text: keep Hostinger CDN if your domain uses Hostinger nameservers and you want no set-up; choose Cloudflare if you need its DNS, firewall (WAF) rules or HTML caching rules, or host elsewhere too; never run both, and switch Hostinger CDN off before moving nameservers; after any change, check that only one CDN header appears; with Cloudflare, use Full (strict) SSL when your certificate is valid; and purge the right layer, LiteSpeed for pages and the CDN for its own copies.

Troubleshooting After a CDN Change

ProblemLikely causeFix
Too many redirectsTwo CDNs, or conflicting HTTPS rulesTurn one CDN off; in Cloudflare check the SSL mode
Both CDN headers in one responseCloudflare in front of Hostinger CDNDisable Hostinger CDN and point the A, AAAA and www records in Cloudflare to your hosting IP
Old page after an updateA cached copy in the page cache or the CDNPurge LiteSpeed, then the CDN; check the headers again
Email stopped after moving to CloudflareMX or DKIM records not copiedRe-add them in Cloudflare DNS
Every page shows cf-cache-status: DYNAMICCloudflare does not cache HTML by defaultNormal; add a cache rule or APO only if you need it

If LiteSpeed always shows a miss behind either CDN, the page cache itself needs fixing; my guide to x-litespeed-cache: miss walks through it, and my LiteSpeed Cache settings guide shows how this site’s cache is set up. If you are comparing paid CDNs instead, my BunnyCDN review covers a pay-as-you-go option. To see what a CDN hit saves compared with your server, my guide on how to reduce TTFB in WordPress times each cache layer on this site.

Frequently Asked Questions

Is Hostinger CDN free?

It costs nothing extra. Hostinger says the CDN is part of the hosting plan on its web hosting, Cloud and Agency plans. VPS plans do not include it.

Is Hostinger CDN better than Cloudflare?

Neither is better for every site. Hostinger CDN is simpler and needs no DNS change; Cloudflare gives you its DNS, firewall rules and HTML caching rules. Pick based on the features you need, not on a speed claim.

Can I use Cloudflare with Hostinger?

Yes. Hostinger supports Cloudflare’s DNS, CDN, firewall and Universal SSL on all its hosting plans. Turn Hostinger CDN off before you move the nameservers to Cloudflare.

Should I disable Hostinger CDN if I use Cloudflare?

Yes. Hostinger says only one CDN should be enabled at a time, and that Cloudflare in front of Hostinger CDN is not a supported setup.

How do I know if Hostinger CDN is working?

Check the response headers of your page. An x-hcdn-request-id header shows the response came through Hostinger CDN, and x-hcdn-cache-status shows HIT, MISS or another status.

Does Cloudflare’s free plan cache WordPress pages?

Not by default. Cloudflare caches files such as images, CSS and JavaScript; to cache HTML you need a cache rule or the paid Automatic Platform Optimization add-on.

Harshil Barot
About the author
Digital Marketing Strategist & SEO Specialist

Harshil Barot is a digital marketing strategist focused on SEO, website growth and lead generation. He has built websites since 2012 and provided digital marketing services since 2016. His reviews of web hosting, WordPress, SEO and AI tools state whether they draw on personal use, hands-on testing or editorial research.

Share

Leave a Comment