Two online shops with an identical theme, identical images and identical code can differ in load time by more than a second - purely because of the server they run on. Choosing the hosting environment is the most fundamental performance decision of all, and it is made long before the first line of frontend code is optimised. Because the server response time, measured as Time to First Byte (TTFB), forms the floor for every subsequent loading metric: the browser can only begin rendering once the first byte of the HTML response arrives. Google recommends a TTFB below 800 milliseconds at the 75th percentile (Source: web.dev) - yet only 42 percent of mobile websites reach that value (Source: HTTP Archive Web Almanac). This article treats speed not as metric mechanics but as an infrastructure decision: how shared hosting, VPS, managed hosting and cloud differ in response time, behaviour under load spikes, scaling and server location - and why no amount of frontend tuning can compensate for a slow server response. How to then break down and accelerate TTFB in detail is explored in our article on server response time and its components; here we address the upstream question: choosing and sizing the environment.
Why the Server Sets the Ceiling
TTFB measures the time from sending the request to receiving the first byte of the response and, according to Chrome for Developers, includes one network round trip, DNS resolution, any redirects and the server's actual processing time (Source: Chrome for Developers). Because this value precedes anything visible, it sets a hard limit: a Largest Contentful Paint under 2.5 seconds is impossible if the server alone needs two seconds for the first response. web.dev therefore describes TTFB as a value that precedes the user-centric metrics First Contentful Paint and Largest Contentful Paint (Source: web.dev). It is not the goal but the starting line - and whoever starts too late can no longer win the race.
web.dev recommends splitting the LCP budget roughly: about 40 percent on TTFB, another 40 percent on loading the LCP resource and under 10 percent each on load delay and render delay (Source: web.dev). For a 2.5-second target that leaves around one second for the server response - and whoever spends that second in the backend has no room left for images, fonts and the actual rendering. The budget shown in the mockup illustrates this: the TTFB base carries the entire budget stacked above it. This is exactly why the choice of server is not a detail but the switch that decides whether the Core Web Vitals are within reach at all.
TTFB Is Not a Core Web Vital - but Its Precondition
Frontend Tuning Has a Ceiling
The Four Hosting Models at a Glance
web.dev names hosting the first thing to consider when optimising TTFB at all (Source: web.dev). Four basic models are available, and they differ less in price than in behaviour under real conditions. Shared hosting splits one physical server among many customers - cheap but fragile, because other websites claim the same CPU cores and the same memory. A VPS (virtual private server) reserves fixed resource shares in a virtualised environment that you configure and maintain yourself. Managed hosting delivers a pre-configured, continuously maintained environment with built-in caching. Cloud and autoscaling platforms, finally, distribute load dynamically across several instances and grow with demand.
Shared Hosting
One server, many customers, shared resources. Cheap and low-maintenance, but the TTFB typically sits at 800-2000 milliseconds and collapses under load spikes. Suits small, static or low-traffic sites.
VPS (self-managed)
Fixed, dedicated resource shares in a virtual machine. Full control over PHP, web server and database - but also full responsibility for security, updates and tuning. TTFB typically 300-700 milliseconds.
Managed Hosting
Pre-configured, continuously maintained environment with built-in object and page cache. The provider handles updates and server fine-tuning. TTFB typically 200-500 milliseconds with less operational effort.
Cloud / autoscaling
Load is distributed dynamically across several instances, capacity grows with demand. Edge-near delivery and elastic scaling keep TTFB low even during spikes, but require architectural know-how.
The boundaries between the models blur: a well-sized VPS with a reverse-proxy cache can respond faster than a poorly configured managed package, and cloud hosting is not automatically fast without a well-considered architecture. What matters is not the label but how the model answers three questions: how it behaves under load spikes, how close it stands to the audience, and how it scales with growing traffic. The following table places the models along these axes.
| Model | Typical TTFB | Behaviour under load | Scaling | Suits |
|---|---|---|---|---|
| Shared hosting | 800-2000 ms | collapses at spikes | barely, needs package change | small, static sites |
| VPS (self-managed) | 300-700 ms | stable up to its capacity | vertical, manual | growing projects with a tech team |
| Managed hosting | 200-500 ms | cushioned by caching | vertical, managed | shops and sites without an ops team |
| Cloud / autoscaling | 100-400 ms | elastic, absorbs spikes | horizontal, automatic | high or fluctuating load |
TTFB Under Load Spikes
A single test call says little about real server performance. What matters is behaviour under load - and that is exactly where the models diverge. On shared hosting, many websites share the same resources; a traffic surge or a compute-heavy neighbour can multiply your own TTFB even though your own code is unchanged. This volatility explains part of the field numbers: only 42 percent of mobile and 54 percent of desktop websites reach a good TTFB in 2024 (Source: HTTP Archive Web Almanac). The median drifts noticeably upward under load, and because Google evaluates at the 75th percentile, it is precisely the bad moments that count.
Technically the collapse happens because finite resources are exhausted. Every PHP request occupies a worker process and memory; once all workers are busy, new requests wait in a queue. Database connections are also limited - once the limit is reached, further queries block. A server that responds in 250 milliseconds on its own can climb to two seconds under 50 concurrent requests. The Web Almanac shows the consequence on the slowest pages: websites with poor LCP spend around 2.27 seconds in TTFB alone (Source: HTTP Archive Web Almanac) - here the server is nearly the entire load time.
Test Under Realistic Load, Not at Idle
Server Location and Latency to the Audience
Even a lightning-fast backend helps little if the data has to travel far physically. Light in fibre needs around five milliseconds per 1000 kilometres, and every request covers the distance several times. A user in Hamburg whose server sits in Frankfurt has a minimal network latency of a few milliseconds; a user in New York facing the same server, by contrast, many times that. web.dev explicitly notes that users far from the origin server can still experience high TTFB in the field (Source: web.dev). Server location is therefore not a side issue but must match the geographic centre of the audience.
When the audience is internationally distributed, a content delivery network solves this problem by delivering content from nodes close to the user. web.dev explicitly recommends CDNs to bridge the distance to the origin and names as additional benefits faster DNS resolution, modern protocols such as HTTP/2 and HTTP/3, and optimised TLS negotiation (Source: web.dev). Adoption is growing but uneven: in 2024 only 33 percent of HTML pages are delivered via a CDN, while among the most popular 1000 websites it is already 70 percent (Source: HTTP Archive Web Almanac). How edge caching concretely affects delivery is explored in our article on CDN and edge caching for shop performance; which protocol benefits HTTP/3 brings is shown in the article on HTTP/3 and QUIC.
- Choose location by audience: a data centre in the core market beats any distant offer, even if its specs sound better on paper.
- CDN for geographic spread: if the audience sits in several regions, a CDN shortens the physical distance for static and, increasingly, dynamic content.
- Cache dynamic content deliberately: keep short-lived HTML or stale-while-revalidate at the edge, and deliberately exclude personalised areas from the cache.
- Avoid redirect chains: redirects feed directly into TTFB according to Chrome for Developers - every hop costs an extra round trip (Source: Chrome for Developers).
Scaling: Vertical, Horizontal, Elastic
How a hosting model handles growing traffic decides its lifespan. Vertical scaling means giving the same server more resources - more CPU, more RAM. It is simple but has a hard ceiling and, on shared hosting, often requires a package change, and on a VPS a manual resize with brief downtime. Horizontal scaling distributes load across several instances behind a load balancer and has no fixed ceiling in theory, but demands a stateless architecture in which no instance holds local session data. Elastic scaling, finally, adds instances automatically and removes them again when load drops - the cloud model.
In practice this means: a project with steady, predictable traffic is usually better served by a well-sized VPS or managed package than by complex cloud infrastructure whose advantages it does not use. A shop, by contrast, whose load multiplies during campaigns, holidays or sale days benefits from elastic scaling that keeps TTFB stable even at the peak moment. The right choice follows the load profile, not the maximum conceivable build-out. Caching relieves every model, because it skips the expensive backend processing - how multi-layer caching with Varnish and Redis achieves this is shown in the related article.
The right server sizing follows the load profile, not the largest conceivable build-out. An environment matched to real load is faster and cheaper than an oversized one you rarely fully use.
Choosing the Right Model
The choice does not begin with the provider but with your own profile: how much traffic, how strongly fluctuating, with what technical support in-house and with what geographic focus. Google Search Central states the goal clearly - LCP under 2.5 seconds, INP under 200 milliseconds, CLS under 0.1 (Source: Google Search Central) - while emphasising that good values in Search Console alone do not produce a better ranking but are part of the evaluation (Source: Google Search Central). The server is the precondition under which the LCP value becomes reachable at all. The following order helps narrow down the right model.
- Determine the load profile: look at average and peak load separately. Constant load argues for VPS or managed, strongly fluctuating load for elastic cloud.
- Assess support honestly: without an in-house tech team, managed hosting is usually the safer choice than a self-managed VPS that demands updates and tuning.
- Align location with audience: data centre in the core market, CDN for international spread. Physical distance cannot be optimised away.
- Consider the application: a WordPress setup has different bottlenecks than a Shopware shop; the typical brakes should fit the model.
- Plan reserve, do not over-provision: enough buffer for spikes, but no permanently unused capacity - both cost something, one speed, the other money.
Sizing Instead of Over-Provisioning
A server is not fast because it is expensive but because its resources match the workload. The four critical quantities are memory, CPU, the number of PHP workers and the database buffers. Too little RAM forces the database to read from the slow disk instead of memory; too few workers create queues under load; an undersized database buffer lets cache hit rates fall. Chrome for Developers reports the server portion separately: the Lighthouse recommendation for the pure server response time is 600 milliseconds and thus stricter than the 800-millisecond threshold for the full TTFB, because the latter additionally includes DNS and redirects (Source: Chrome for Developers).
With managed hosting the provider handles this fine-tuning along with updates and security patches; with a self-managed VPS it is your own responsibility. Both can be fast - the difference lies in operational effort, not necessarily in the result. What matters is not over-provisioning the environment on gut feeling but sizing it against measured load. Caching is the biggest lever here, because it serves requests without troubling the backend at all - suitable caching strategies often lower TTFB more than more expensive hardware.
Measure First, Then Scale
In the end, the hosting choice is the decision that sets the frame for everything else. A well-chosen, correctly sized server delivers a fast first response - and only on this foundation do frontend optimisation and image compression unfold their full effect. If you are unsure whether the current model fits your traffic, load spikes and audience, our web performance services offer the right entry point: we measure TTFB from several locations, place the environment in context and name the most effective next step - instead of recommending bigger hardware across the board.
Sources and Studies