All tutorials
PerformanceIntermediate

Speed Up Your Website: A Core Web Vitals Checklist

Improve LCP, INP and CLS with caching, image optimization, a CDN and smart loading strategies.

Hostn.ME Team 9 min read 22 viewsUpdated November 22, 2026

Fast sites rank higher and convert better. Google measures speed with Core Web Vitals:

MetricMeasuresGood
LCPLoading — largest element rendered< 2.5s
INPResponsiveness to input< 200ms
CLSVisual stability< 0.1

1. Measure first

Run PageSpeed Insights and note your scores on mobile. Fix the biggest problems first.

2. Cache everything you can

  • Page cache (LiteSpeed Cache / built-in cloud cache)
  • Browser cache — long Cache-Control headers for static assets
  • Object cache — Redis for database-heavy sites

3. Optimize images (usually the #1 win)

  • Serve WebP or AVIF
  • Resize to the displayed size — don't ship a 4000px photo into a 400px card
  • Add width and height attributes to prevent layout shift
  • Lazy-load below-the-fold images:
<img src="/hero.webp" width="1200" height="630" alt="Product hero" fetchpriority="high">
<img src="/gallery-1.webp" width="400" height="300" alt="Gallery" loading="lazy">

4. Enable the free CDN

Toggle CDN in your dashboard. Static files are then served from 300+ edge locations close to your visitors.

5. Reduce JavaScript

  • Remove unused plugins and third-party widgets
  • Defer non-critical scripts: <script src="chat.js" defer></script>
  • Avoid heavy page builders where possible

6. Use modern PHP and HTTP/3

Switch to PHP 8.3 in your dashboard — it's often 20–30% faster than PHP 7.4. HTTP/3 is enabled by default on Hostn.ME.

7. Re-measure

After each change, re-run PageSpeed Insights. Small, measured improvements add up.

Stuck on a step?

Our AI assistant knows every tutorial, and a real engineer is one click away.