Here is a check you can run today: pick the product page that brings you the most traffic, request that same URL from a test location in Germany, one in the United States and one in the Gulf, and write down when the first byte arrives in each case. A measurement taken from a single office computer only tells you how far that computer is from your server; the wait your overseas buyer experiences can be very different. Measuring TTFB by country makes that difference visible and shows in which market your export website technical infrastructure for global reach actually does its job.
TTFB (Time to First Byte) is the time between the browser starting a page request and the first byte of the server's response arriving. None of the images, fonts or scripts on the page can start loading before that first byte is in. That makes TTFB the bottom layer of page speed: every millisecond lost here is added, unchanged, to every step that follows.
What TTFB Is Made Of
Although it looks like a single number, TTFB is the sum of several separate phases. If you do not know which phase is slow, improvement work tends to be spent in the wrong place. A bigger server changes nothing when the delay sits in DNS, and adding a CDN helps only partly when the delay comes from a slow database query.
DNS Lookup
The browser first has to find out which IP address your domain points to. If your DNS provider has no servers close to the visitor, that lookup can mean an intercontinental round trip for every new visitor. A cached DNS record brings this time close to zero, which is why first visits and repeat visits often look so different in measurements.
Connection and TLS
Once the IP address is known, a TCP connection is opened and then the TLS handshake for HTTPS takes place. Both phases depend directly on network latency: the greater the physical distance between visitor and server, the longer each round trip. Protocols such as TLS 1.3 and HTTP/3 can reduce the number of round trips, but they do not remove the distance itself. CDNs that terminate the connection at an edge location near the visitor produce their most visible gains in this phase.
Server Processing Time
When the request reaches the server, the application has to prepare the page: database queries, template rendering, choosing the language version, calls to external services. This time does not depend on the country, but when the visitor is far away it combines with network latency and stretches the total wait. Redirects also count towards TTFB: a 301 or 302 used for language selection puts a whole extra request cycle inside the measured time.

Cached and Uncached Responses
Seeing two very different TTFB values for the same page is normal. If the page is waiting ready in a cache, the response starts almost immediately; if not, the request travels all the way to the origin server and the page is built again. When you interpret results you need to know which situation you measured, otherwise you end up averaging two separate scenarios.
CDN Hit and Miss
On sites behind a CDN, the response headers usually state whether the request was served from cache or from the origin. The header name depends on the provider: look for fields such as cf-cache-status, x-cache or age. A HIT means the page came from the edge, a MISS means the request went to the origin. The names and meanings of these headers differ between providers, so check your provider's official documentation for the current details.
One point is often missed: a CDN cache is regional. The page can be a HIT at the Frankfurt edge while the Singapore edge has never been asked for it, so it is a MISS there. In low-traffic markets the cache empties frequently and most buyers in that country meet an uncached response. Our article on multi-region CDN setup covers in detail how HTML caching and cache-control settings affect this.
Cold and Warm Requests
There are "cold" situations beyond the cache as well. If serverless functions have not been called for a while, the first request includes start-up time; if the application server has just restarted, the first queries run slower. Sending several requests in a row to the same URL and recording the first one separately from the rest gives a more accurate picture than a single measurement.
Measurement Tools and Their Limits
No single tool shows the whole picture. Lab tests give controlled, repeatable results but do not reflect a real visitor's device and network. Real-user data is close to reality but needs enough traffic and does not explain the cause of a problem on its own. The table below compares the types of tools you can use for TTFB by country.
| Tool type | What it shows | Limits |
|---|---|---|
| Multi-location lab test | Instant TTFB and a phase breakdown (DNS, connect, TLS, wait) from test servers in different countries | Test locations sit in data centers; they do not represent a real buyer's mobile network or device, and a single run can be a fluke |
| Real-user data (CrUX) | Field data collected from Chrome users; TTFB distribution and percentiles | No data for pages and sites without enough traffic; a country breakdown is not offered in every interface, and updates lag |
| Your own RUM setup | Each visitor's TTFB, by country and page, via a measurement script added to your site | Needs setup and data storage; you have to make your own assessment regarding cookies and personal data |
| Synthetic monitoring | Automatic measurements at set intervals from chosen regions; trends over time and alerts | Covers only the pages and regions you pick; can keep the cache permanently warm and paint an optimistic picture |
| curl timing | DNS, connect, TLS and first-byte times for a single request from the command line | Measures only from the machine where you run it; a remote region needs a server in that region |
You can reach CrUX data through PageSpeed Insights and Search Console, but those interfaces generally do not offer a country breakdown. For country-level data you may need the CrUX dataset on BigQuery. Which metrics and breakdowns appear in which interface can change over time, so check the official source for the current state.
Step-by-Step Measurement by Country
The process below starts without any extra budget and gets deeper only as the need arises. The goal is not a one-off report but a measurement routine that stays comparable across markets.
- Choose target markets and pages. List the countries you sell to or want to grow in. For each, pick the home page, one category page and the most visited product page; if that country has its own language version, use that URL.
- Take a baseline from your own location. Request the same URLs several times with curl and record the phase times. This value becomes the reference for comparing remote measurements.
- Measure from test locations near each market. Use a multi-location lab testing tool to test every page at least three times from the location closest to the target country. Keep the first result apart from the later ones; the first request usually shows the uncached state.
- Record the cache status. For each measurement, note the HIT or MISS information in the response headers. The gap between HIT and MISS values in the same country shows how well your caching strategy works in that market.
- Look at the phase breakdown. Split the total TTFB into DNS, connect, TLS and wait times. Mark which phase changes most from country to country.
- Compare with real-user data. Check the TTFB distribution for the same countries in CrUX or your own RUM data. If the lab result is good but field data is poor, the likely causes are a cold cache, mobile networks or redirects.
- Collect the results in one dated table. Keep a table with columns for country, page, cache status, phase times and measurement date. The next measurement should use the same pages and the same method.
A basic curl command for this looks like:
curl -o /dev/null -s -w "dns: %{time_namelookup}\nconnect: %{time_connect}\ntls: %{time_appconnect}\nfirst_byte: %{time_starttransfer}\ntotal: %{time_total}\n" https://example-domain.com/de/
Remember that curl reports these values cumulatively from the start of the request. To get the TLS time on its own, for instance, subtract time_connect from time_appconnect. If you also want to see the response headers, add -D - to the command so that the cache status appears in the same output.

Reading the Results
Once the measurement table is filled in, the real work is reading what the numbers say and finding which phase the difference comes from. The gap between countries tells you more than any single value.
Thresholds
Google's web.dev guidance mentions roughly 0.8 seconds or less as a good TTFB target and suggests assessing it at the 75th percentile. TTFB is not a Core Web Vitals metric, however, and the guidance presents this figure as a rough guide rather than a strict rule. Thresholds and recommendations can be updated, so check the official source for the current state. In practice a more useful question is: how many times slower is your slowest market than your fastest one?
An Example Reading
Consider a textile manufacturer's website (a fictional example). Measured in Türkiye, the first byte arrives quickly, and in Germany cached responses are similarly fast. In the United States the first request is clearly slow while subsequent ones are fast. The phase breakdown shows reasonable DNS and TLS times; the difference lies entirely in the wait time. This suggests the page is not in cache at the US edge, and every uncached request waits for a response from the origin in Türkiye. The fix is not to move the server but first to review the cache lifetime and the range of pages cached for that market.
Diagnosis by Phase
- Long DNS time: check your DNS provider's global distribution and the TTL values of your records.
- Long connect and TLS: see whether the connection terminates at the origin or at a nearby edge, and confirm support for HTTP/2, HTTP/3 and TLS 1.3.
- Long wait only on MISS: review your caching strategy and cache lifetime.
- Long wait even on HIT: the cache may not really be in use; cookies, query parameters or a
Varyheader may be fragmenting it. - Total inflated by redirects: consider removing the language or country redirect and sending users straight to the correct URL.
Common Measurement Mistakes
Most errors that lead to wrong TTFB conclusions come from method. The first and most common is measuring only from the office and declaring the site "fast". If your server is in Istanbul and you measure from Istanbul, you have measured almost no network latency at all.
The second is trusting a single test run. Network conditions change by the moment; one run can be lucky and the next unlucky. Taking several measurements per country and page and using the median is more reliable.
The third is measuring only the home page. On most sites the home page is the most requested page and therefore the one most often in cache. Product and category pages that buyers reach from search are requested far less often and are much more likely to be outside the cache. The real buyer experience is usually decided on these deeper pages.
The fourth is overlooking language versions. The German and English versions of the same page have separate cache entries. If the page serving Germany is the German version, that is the URL you need to measure. We discussed the relationship between caching and language versions in the article on hreflang with CDNs and caching and Vary header issues.
The fifth is forgetting that synthetic monitoring keeps the cache warm. If a monitoring tool requests the same page every few minutes, that page will always be a HIT in the test location's region, while real visitors may be hitting MISS responses on other pages.
Improvement Order for Slow Markets
If your measurements show one or more markets lagging clearly behind, it makes sense to start with the cheapest and most effective step. The usual order is:
- Remove unnecessary redirects and make internal links point directly at the final URL.
- Consider caching HTML pages at the CDN and set the cache lifetime to match how often your content changes.
- Clean up cookies and query parameters that fragment the cache.
- Shorten processing time on the origin server: deal with slow queries, unnecessary external calls and heavy templates.
- Consider serving pages as pre-built static files or running them at the edge.
The last two steps involve architectural decisions. We cover the advantages of pre-building catalog pages in static site generation for a fast global catalog, and the gains and risks of running at the edge in edge hosting and serverless for export websites. Moving the server to a target market usually comes last on the list, because getting closer to one market can also mean moving further from the others.
Making Measurement a Routine
TTFB by country is not a value you measure once and forget. A new plugin, a changed cache setting or an added language version can cause a slowdown that goes unnoticed for months. That is why measurement should be tied to content and infrastructure changes.
A practical routine might look like this: after every significant release, re-measure the selected pages from your target markets; once a month, review the country-level distribution in CrUX or RUM data; if you use synthetic monitoring, set an alert threshold for each market. Every row added to the measurement table lets you base the next technical decision on data rather than guesswork.
When you share results with your technical team, give the phase breakdown and cache status together with the total TTFB. "It is slow in Germany" is a complaint; "on product pages in Germany, wait time is long on MISS" is a work item.
Finally, ask yourself: when a buyer in your most important market opens a product page that has not been cached, how long does the first byte take to arrive, and do you know that number today?




No comments yet
Leave a Comment