Core Web Vitals for Laravel apps: the LCP and CLS traps
Server-side Laravel usually wins on TTFB and loses on images and layout shift. Here is what to fix in the Blade layer.
Core Web Vitals measure what the visitor experiences: how fast the main content paints, how quickly the page responds to input, and whether the layout jumps. Laravel affects the first indirectly and the third directly.
Largest Contentful Paint
The culprit is almost always the hero image. Serve it in the displayed size with width and height attributes, use a modern format, preload it, and avoid lazy-loading the image above the fold. On a Laravel site, loading="eager" on the hero and loading="lazy" everywhere else is most of the fix.
Cumulative Layout Shift
Ad slots, embedded videos and late-loading fonts move content after paint. Reserve space with fixed dimensions for ad containers and media, and preload the font you actually use. Our ad component uses a fixed-ratio container for exactly this reason.
Interaction to Next Paint
Heavy JavaScript on the main thread makes taps feel slow. Ship less JavaScript, defer non-critical scripts, and avoid client-side rendering for content that could be server-rendered. A Blade page with a small Alpine.js bundle usually beats a hydrated SPA on this metric.
Measure in the field, not the lab
Lighthouse is a controlled environment; Search Console's Core Web Vitals report uses real visitors. Improve the lab score for deployment confidence, but trust field data for judging whether the work helped.
Frequently asked questions
Does TTFB affect Core Web Vitals?
Indirectly. A slow server delays everything after it, including LCP. Caching and query optimisation improve both the metric and the experience.
Do ads hurt Core Web Vitals?
They can, through layout shift and main-thread work. Reserve slot dimensions and load them after content so the shift is zero.
More on this topic: Performance & SEO articles.
Admin
Related articles
Internal linking: the cheapest SEO work you are not doing
Every important page should be linked from somewhere with descriptive anchor text. It costs nothing and it compounds.
Getting a new site indexed by Google: a checklist that works
Verify Search Console, submit a sitemap, make sure nothing is blocking crawl, and then be patient. Most indexing problems are self...
How to speed up a slow WordPress site without rebuilding it
Hosting, page cache, images and plugins — in that order. Most slow WordPress sites improve dramatically before any theme work.