How to Improve WordPress Core Web Vitals Through Better Hosting
What hosting can and can't fix, how to tell whether your server is the bottleneck, and the hosting features that actually move the numbers.
On this page
- Core Web Vitals, and how much hosting affects each one
- Why hosting matters most for LCP
- Is your hosting the bottleneck? A 15-minute check
- Hosting features that improve LCP
- What DreamHost, Hosting.com and WP Engine list
- What better hosting won't fix
- When to upgrade your hosting, and to what
- Measure the change properly
- Frequently asked questions
- Sources
Better hosting can improve your Core Web Vitals, but mostly one of them. Hosting has the biggest effect on Largest Contentful Paint (LCP), because LCP can't happen until your server sends the page. It has little effect on Interaction to Next Paint (INP), which mostly depends on JavaScript running in the visitor's browser, and almost none on Cumulative Layout Shift (CLS). So before you change hosts or upgrade a plan, check whether your server is actually the bottleneck.
Core Web Vitals, and how much hosting affects each one
Google measures each metric at the 75th percentile of real page loads, separately for mobile and desktop. A page passes when all three are in the "good" range, according to web.dev.
| Metric | What it measures | Good | Poor | How much hosting can help (our assessment) |
|---|---|---|---|---|
| LCP | How long the main content takes to appear | 2.5 seconds or less | Over 4 seconds | A lot, through server response time |
| INP | How quickly the page responds to taps and clicks | 200 ms or less | Over 500 ms | A little. It's mostly browser-side JavaScript |
| CLS | How much the layout jumps while loading | 0.1 or less | Over 0.25 | Almost none. It's about page layout |
| TTFB (not a Core Web Vital) | How long until the first byte of the page arrives | 0.8 seconds or less | Over 1.8 seconds | This is where hosting shows up most |
Thresholds from web.dev's Core Web Vitals thresholds and its TTFB guide, which describes 0.8 seconds as a rough guide rather than a strict rule.
Do these numbers affect rankings? Google's page experience documentation says Core Web Vitals are used by its ranking systems, and also that good scores don't guarantee good rankings. Faster pages are worth having for your visitors either way.
Why hosting matters most for LCP
Google breaks LCP into four parts: time to first byte, the delay before the main image starts loading, the time to load it, and the delay before it's drawn on screen. Your host controls most of the first part.
Google's own field data shows how much that first part can cost. In a web.dev analysis of real Chrome page loads, Common misconceptions about how to optimize LCP, the typical site with good LCP had a 75th-percentile TTFB of 600 milliseconds. The typical site with poor LCP had 2,270 milliseconds, which uses up about 91% of the 2.5-second budget before the first byte of the page has even arrived.
| LCP rating | Time to first byte | Image load delay | Image load duration | Render delay |
|---|---|---|---|---|
| Good | 600 ms | 350 ms | 160 ms | 230 ms |
| Needs improvement | 1,360 ms | 720 ms | 270 ms | 310 ms |
| Poor | 2,270 ms | 1,290 ms | 350 ms | 360 ms |
Two lessons follow. If your TTFB is high, no amount of image compression will get LCP into the good range, so look at hosting and caching first. And if your TTFB is already low, a pricier hosting plan won't help much. The delay before the main image starts loading is often the next-biggest problem, and that's fixed in the page, not on the server.
Is your hosting the bottleneck? A 15-minute check
- Run your key pages through PageSpeed Insights. Start with the field data at the top, which comes from real Chrome users over the previous 28 days, and check mobile first.
- Note the TTFB figure in that field data, alongside LCP, INP and CLS.
- Open the lab report's LCP breakdown. Lighthouse shows how LCP splits into server response and the other subparts.
- Check that page caching works. Load a page twice while logged out and look at the response headers in your browser's developer tools. Many hosts add a header showing a cache hit, such as
x-litespeed-cacheon LiteSpeed servers. - Check Search Console's Core Web Vitals report to see whether the problem affects whole groups of pages or just a few.
Then match what you find to the likely cause:
| What you see | Likely cause | Can hosting fix it? |
|---|---|---|
| High TTFB on every page, even cached ones | Slow or overloaded server, or visitors far from it | Yes: better caching, a CDN, a closer data center or a stronger plan |
| High TTFB only on uncached pages, such as cart or account pages | PHP and database work on every request | Partly: object caching, newer PHP and more CPU help |
| Good TTFB but slow LCP | Main image found late, lazy-loaded or blocked by CSS and scripts | No. Fix the page |
| Poor INP | Heavy JavaScript from page builders, sliders, chat or tracking tools | Rarely. Reduce scripts |
| Poor CLS | Images without dimensions, late banners or web fonts swapping | No. Fix the layout |
For the page-side fixes, follow our step-by-step guide to improving website speed.
Hosting features that improve LCP
1. Server-level page caching
Page caching saves a ready-made copy of each page, so the server doesn't rebuild it with PHP and database queries for every visitor. WordPress's caching documentation notes that this greatly reduces the work the server does. It's usually the single biggest TTFB improvement for logged-out visitors. If your host offers server-level caching, use it; otherwise use one caching plugin. Never run two page caches at once.
2. Object caching
Pages that can't be cached, such as a logged-in dashboard, a cart or a checkout, still hit the database. An object cache using Redis or Memcached keeps the results of repeated queries in memory. It needs support from your host, and it matters most for stores, membership sites and busy admin areas.
3. Current PHP with OPcache
Newer PHP versions usually run WordPress faster as well as more securely. WordPress.org recommends PHP 8.3 or newer, and the Hosting Handbook recommends 8.4 for production. OPcache keeps compiled PHP in memory and should be on. See our guide to WordPress 7.1 hosting requirements.
4. A CDN and the right data center
TTFB includes the time a request takes to travel to your server and back, and you can't beat physics. If your visitors are in the US and UK but your server is in one country, a CDN that serves cached pages and files from locations near each visitor can cut that travel time. If most of your customers are in one region, choose a data center there.
5. Enough resources for busy moments
On shared hosting, CPU and memory are shared with other customers and capped per account. If TTFB is fine at quiet times but jumps during traffic peaks, or you see resource-limit warnings, the plan is too small. More CPU, more PHP workers or a move to managed WordPress or a VPS gives more headroom.
6. Modern protocols and compression
HTTP/2, HTTP/3 and Brotli compression help files arrive efficiently. Most modern hosts support them, but they're worth confirming.
What DreamHost, Hosting.com and WP Engine list
| Plan | Page caching | Object caching | CDN | Staging for testing changes |
|---|---|---|---|---|
| DreamHost Web Hosting | Not described on its plan pages | Not listed | Not included | No |
| DreamPress | NGINX page caching, plus PHP OPcache | Redis | Bunny Essential CDN, 10 locations | 1-click staging |
| Hosting.com shared | LiteSpeed web servers with LiteSpeed Cache for WordPress | Redis on Pro and Max | Not included | Pro and Max |
| Hosting.com Managed WordPress | WordPress-aware full-page caching, with WP Rocket | Object Cache Pro | Cloudflare Enterprise | Every plan |
| WP Engine | Server-level caching | Not covered in our review | Cloudflare-powered, on all plans | Staging and development environments |
Details come from our DreamPress vs DreamHost WordPress Hosting comparison, our Hosting.com and Managed WordPress reviews and our WP Engine review. A few points worth knowing:
- Hosting.com shared plans also list HTTP/2 and HTTP/3, and plan sizes of 2 GB RAM and 2 vCPUs on Starter, rising to 8 GB and 4 vCPUs on Max. There's no CDN, so international audiences may want to add one.
- Hosting.com's data center lists don't match between its package comparison and its knowledge base. If you need hosting in the UK, confirm London is available for your plan before you buy.
- DreamPress includes 500 GB of CDN traffic per month per site.
- WP Engine sells NitroPack performance optimization as a paid add-on on its Essential plan.
Our view: if diagnosis points to slow server responses on a basic shared plan, a managed WordPress plan with server caching, object caching and a CDN included addresses all three at once. DreamPress and Hosting.com Managed WordPress both list that combination.
View DreamPress Plans (opens DreamHost: DreamPress – High-Performance WordPress in a new tab)
View Hosting.com Managed WordPress Plans (opens Hosting.com Managed WordPress in a new tab)
What better hosting won't fix
A faster server can't rescue a page that's slow for other reasons. These problems stay with you whichever host you choose:
- A lazy-loaded hero image. If the main image waits to load, LCP suffers even with a fast server. Don't lazy-load images at the top of the page.
- Render-blocking CSS and JavaScript that delay the page from appearing.
- Heavy page builders, sliders and third-party scripts, the usual causes of poor INP.
- Missing image dimensions, late-loading banners and font swaps, the usual causes of CLS.
Our guide to the best WordPress tools for beginners lists caching and image plugins for the page-side work.
When to upgrade your hosting, and to what
- Stay on shared hosting if TTFB is good with caching on and problems are on the page side.
- Move to managed WordPress hosting if TTFB stays high after enabling caching, you need object caching or a CDN, or you want staging to test performance changes. Our guide to shared vs managed WordPress hosting compares the two.
- Consider a VPS if you've outgrown managed plans, need server-level control or run other software alongside WordPress. See our DreamHost Managed VPS review and Hosting.com VPS review.
Measure the change properly
- Change one thing at a time, so you know what helped.
- Compare the same pages before and after, on mobile as well as desktop.
- Give field data time. PageSpeed Insights field data covers the previous 28 days, so a hosting move takes several weeks to show in full.
- Don't chase a perfect lab score. Passing the Core Web Vitals for real visitors matters more than a 100 in Lighthouse.
Frequently asked questions
Does hosting affect Core Web Vitals?
Yes, mainly LCP. Your server's response time is the first part of LCP, so slow hosting can make a good LCP impossible. Hosting has much less effect on INP and almost none on CLS.
Is TTFB a Core Web Vital?
No. The Core Web Vitals are LCP, INP and CLS. TTFB is a supporting metric, and web.dev suggests aiming for 0.8 seconds or less as a rough guide because it comes before LCP.
Will a CDN fix my LCP?
It can help if visitors are far from your server or your server responds slowly, especially when the CDN serves cached pages. It won't fix a lazy-loaded hero image or render-blocking scripts.
Can better hosting fix INP?
Rarely. INP mostly reflects JavaScript running in the visitor's browser, so the fix is usually fewer or lighter scripts rather than a faster server.
How long until Core Web Vitals improve after changing hosts?
Lab tests show changes straight away, but PageSpeed Insights field data covers the previous 28 days, so expect several weeks before it fully reflects the move.
Do Core Web Vitals affect Google rankings?
Google says Core Web Vitals are used by its ranking systems, but good scores don't guarantee good rankings. Helpful content matters more, and faster pages help visitors either way.
Sources
- web.dev: Web Vitals (the three metrics, 75th percentile, mobile and desktop)
- web.dev: How the Core Web Vitals thresholds were defined (good and poor thresholds)
- web.dev: Time to First Byte (TTFB thresholds)
- web.dev: Optimize Largest Contentful Paint (LCP subparts)
- web.dev: Common misconceptions about how to optimize LCP (field data on LCP subparts; last updated August 20, 2024)
- Google Search Central: Understanding page experience (Core Web Vitals and ranking)
- Google for Developers: About PageSpeed Insights (field and lab data)
- WordPress Advanced Administration Handbook: Cache (page, object, browser and opcode caching)
- WordPress Hosting Handbook: Server environment (recommended PHP for production)
- DreamHost: DreamPress (caching and CDN)
- Hosting.com: Package comparison (shared plan resources, LiteSpeed, Redis, protocols)
- Hosting.com: Managed WordPress hosting (caching, CDN, PHP workers)
- WP Engine: Plans (CDN, environments, add-ons)
Facts last checked: November 14, 2026. Hosting features change, so confirm them on each provider's site before you upgrade.