Guide

Pass Core Web Vitals on shared hosting

You don’t need a new server to pass Google’s Core Web Vitals. You need to make WordPress do less work for every visitor.

Core Web Vitals are three measurements Google uses as a ranking signal. A page passes when at least 75% of real visits are in the “good” range for all three:

  • Largest Contentful Paint (LCP): 2.5 seconds or less—how fast the main content appears.
  • Interaction to Next Paint (INP): 200 milliseconds or less—how quickly the page reacts to taps and clicks.
  • Cumulative Layout Shift (CLS): 0.1 or less—how much the layout jumps around.

Why shared hosting struggles

On shared hosting, building one WordPress page with a page builder and a dozen plugins can take one to three seconds of server time. That eats most of the LCP budget before the browser has received a single byte. The fix is not a faster server—it is to stop building pages for every visitor.

Step 1: serve pages from cache—without PHP if possible

Store each finished page as a file and let the web server send it directly through .htaccess rules (Apache and LiteSpeed) or an advanced-cache.php drop-in. Store a pre-compressed copy too, so the server doesn’t compress it on every request. Response times drop from seconds to milliseconds.

Step 2: make the first screen light

Inline critical CSS, preload the hero image, host fonts locally and serve images as WebP or AVIF. These fixes improve LCP regardless of the server.

Step 3: fix INP with less JavaScript

INP suffers when long scripts block the main thread just as a visitor taps. Delay chat widgets, pixels and analytics until the first interaction, and remove scripts the page doesn’t need. On builder sites, replacing the builder’s frontend scripts with a lighter runtime makes the biggest difference.

Step 4: stop layout shifts

Give images and embeds width and height attributes, reserve space for ads and banners, and avoid injecting content above what’s already visible.

Step 5: watch real visitors

Field data can take up to 28 days to update in Google’s reports. FastFront measures Core Web Vitals from your own visitors and shows them per page inside WordPress, so you see the result of a change within days. It also does steps 1 to 3 automatically on the hosting you already have.

More speed guides

Not using FastFront yet?

See your own site’s score next to an optimized copy—free, in about a minute.