A CDN does not make your site faster. Caching on the CDN makes it faster, and those are not the same sentence. Of 103 Iranian sites sitting behind a CDN, only 7 actually served their home page from the edge cache. Those 7 had a median time to first byte of 101 milliseconds. The rest had 459.
Our own site is in the second group. We explain that below, because explaining it is more useful than hiding it.

What a CDN actually fixes: 76 of 85 sites cache nothing
Practical visual overview for What a CDN actually fixes: 76 of 85 sites cache nothing on RGB.ir.
Method
We took 414 Iranian domains from Google results for commercial queries in web, hosting, SEO and design. 398 answered cleanly. On 18 August 2026 we requested each home page three times from a server inside Iran, kept the median of the three, and stored every response header.
The metric is time to first byte. Google's own web.dev documentation puts good below 0.8 seconds and poor above 1.8, and notes that TTFB is not itself a Core Web Vital. It is the floor that LCP cannot go below.

A quarter of the sites sit behind a CDN
Of 398 sites, 103 carried a header that gave the content delivery network away: ArvanCloud 58, Cloudflare 24, Sotoon 10, WCDN six, MizbanCloud four and Derak one. The remaining 295 showed no sign of a CDN at all.
Then the number we expected and did not get. Median TTFB behind a CDN came out at 455 milliseconds against 529 without one. Seventy four milliseconds. For something sold as the answer to a slow site, that gap is close to nothing.
Where the CDN does earn its keep: the tail
Medians do not lie, but they do not tell the whole story either. The ninetieth percentile, meaning the worst ten per cent of visits, looked different:
- No CDN: median 529 ms, ninetieth percentile 1703 ms
- With a CDN: median 455 ms, ninetieth percentile 1129 ms
Sixty six of the 295 sites without an edge went over one second, against 14 of the 103 with one. So the real value of a CDN is insurance, not acceleration. On a normal day it changes little. On the day a heavy page or a traffic spike arrives, it stops the site from taking three seconds.
The per network split is worth reading too, with a warning that some samples are small. Cloudflare: median 311, ninetieth percentile 622. ArvanCloud: 453 and 1341. Sotoon: 498 and 641. MizbanCloud: 539 and 563. WCDN: 840 and 961. With ten and six and four sites you cannot rank providers, but you can say that none of them worked magic without being configured.
The real reason: 76 of 85 are not caching at all
Eighty five of those 103 sites exposed a header describing their edge cache state. The split:
- 7 said HIT, meaning the page came from the edge
- 76 said DYNAMIC or BYPASS, meaning the CDN was a courier and the request travelled all the way to the origin
- 2 said MISS or STALE
And the difference between those groups is exactly what the overall median was hiding. The 7 had a median of 101 milliseconds. The other 76 had 459. Caching HTML at the edge cut time to first byte to a fifth.
The sites doing it: parspack.com, mihanwp.com, azaronline.com, tesmino.com, inbo.ir, payamgostar.com and gapgpt.app. Seven out of three hundred and ninety eight.
Why so few? Because the setup is fiddly
Every CDN defaults to caching static files and not HTML, for a sound reason: HTML can be personal. A shopping cart, a logged in name, a dashboard. Cache it carelessly and one customer sees another customer's page.
So caching HTML at the edge needs a hand written rule saying which URLs may be cached for guests and which never may. Then comes invalidation: when you edit a page, the edge copy has to be dropped.

Practical Architecture: What a CDN actually fixes: 76 of 85 sites cache nothing
Hands-on technical breakdown supporting What a CDN actually fixes: 76 of 85 sites cache nothing.
That is exactly where our own site is stuck. rgb.ir sits behind Cloudflare, sends a thirty day cdn-cache-control header, and Cloudflare still answers DYNAMIC to a guest. The page comes from our own server. One command checks it:
curl -sI https://rgb.ir/ | grep -i cf-cache-statusThe reason is not admirable, only true: the cache rule on this zone has not been settled and we prioritised the file based page cache on the server itself. Our visitors are fast, but not as fast as they could be. It is on this month's list, and when it is fixed we will publish the before and after.
So should you buy a CDN?
If your site is on Iranian hosting and your audience is Iranian, a CDN is not the first thing to buy. The order runs like this:
- Page cache on the server itself. Free, and the largest single gain.
- Compressing images and giving them dimensions.
- Hosting that does not choke at peak hour. We covered how hosting and speed connect separately.
- Then a CDN, with an HTML cache rule rather than merely switched on.
If a meaningful share of your audience sits outside the country, that order changes and the CDN moves up, because then geographic distance really is part of the delay.
One practical warning as well: switching on a CDN in front of a site whose problem is a slow origin hides the problem instead of solving it. The first byte still comes from the same slow server, and you have added another layer to debug when something breaks.
Limits of this measurement
Headers do not tell you everything. A CDN in DNS only mode is invisible, so 103 is a floor and not a ceiling. Each site was measured three times and from a single point in Iran. Only home pages were measured, and a HIT on a home page does not mean a HIT across the site. And our sample is not random: these are sites that rank for commercial queries in this field, which probably makes them more technical than the Iranian web average.
Even so, one thing is clear. If you are behind a CDN, run that curl command against your own site today. If it answers DYNAMIC or BYPASS, you are paying for a courier. To see this alongside every other lever, site speed optimisation covers the whole chain, and a rebuilt corporate site is where these settings get done right from day one.
Common questions
What is a CDN?
A network of servers in different locations that keep a copy of your content and serve visitors from the nearest one. Its real effect depends entirely on what you have allowed it to keep.
Is a free CDN worth it?
Cloudflare's free tier handles static file caching and SSL perfectly well, and it posted the best median in our measurement. Its limits are in advanced rules and support, not in speed.
Iranian CDN or international?
If your audience is inside the country, a local network makes more sense for routing and raises no access questions. Our numbers showed no decisive gap between the two. What made the difference was HTML caching, not the nationality of the network.
Does a CDN affect SEO?
Indirectly. Google gives no credit for having one, but TTFB caps LCP and LCP is a page experience signal. If your CDN is not caching HTML, that chain never starts.



Comments & Questions
Have a question about this article? Ask, we'll answer.
No comments yet; be the first.