Website Slow? Fixing LCP, Render-Blocking JS and Core Web Vitals
Core Web Vitals reduce to three questions. How fast the main content appears, LCP, target under 2.5 s, how responsive the page is to input, INP, target under 200 ms, and how much layout jumps around, CLS, target under 0.1. Most "my site is slow" complaints are an oversized image or a render-blocking script dragging LCP down.
This guide gives the thresholds, the lab-vs-field distinction that trips people up, and the fixes in priority order. A quick first sanity check on raw server latency is possible with the browser response-time checker, though be clear about what it measures, covered honestly below.
What the three metrics measure, and their targets
Each vitals metric has a defined good threshold at the 75th percentile of real page loads, so you are aiming for most of your users, not the best case
| Metric | What it measures | Good | Needs work |
|---|---|---|---|
| LCP | Time until the largest content element paints | ≤ 2.5 s | > 4.0 s |
| INP | Delay responding to a tap/click/keypress | ≤ 200 ms | > 500 ms |
| CLS | How much layout shifts unexpectedly | ≤ 0.1 | > 0.25 |
| TTFB | Time to first byte from the server | ≤ 800 ms | Higher = slow backend |
LCP is the one most people mean by "slow", and its usual culprit is a big hero image or a render-blocking resource in front of it.
Lab data vs field data, why your two numbers disagree
Lab data is a single simulated run on your machine, Lighthouse, or an on-the-spot test. Field data is the aggregated 75th-percentile of real visitors over weeks, Chrome UX Report. They disagree because your laptop on good Wi-Fi is not your worst mobile user on 3G.
Optimise against field data for the real user experience and use lab data to reproduce and debug a specific problem on your own connection. A fast lab score that ignores a slow field LCP is false confidence, so trust the percentile-of-users view when deciding what to fix.
Fix #1. The image behind your LCP
The largest element is very often a hero image, and the fixes are unglamorous and high-impact. Resize it to the size actually displayed, a 2400 px-wide photo shown in an 800 px slot wastes most of its bytes, compress it, and use modern formats where supported.
Shrink it with the image compressor, set exact dimensions with the resizer, and convert to WebP with the converter for roughly 25-35% smaller files at similar quality. Always reserve space with width or height or aspect-ratio so a late-loading image cannot cause CLS, and lazy-load anything below the fold while leaving the LCP image eager.
Fix #2. Render-blocking JavaScript and CSS
The browser pauses rendering to fetch and run scripts and stylesheets in the head, so one large blocking file can dominate LCP. Trim the payload first, minify JavaScript with the JS minifier and stylesheets with the CSS minifier to strip whitespace and comments, then defer what is not needed for first paint by loading it with defer or async, or dynamically.
Inline only genuinely critical above-the-fold CSS and load the rest non-blocking. Shipping smaller, fewer blocking files is a bigger lever than micro-optimising cache settings on files that should not be blocking at all.
Fix #3. The server and caching layer
If TTFB is high, nothing downstream can make the page feel fast, so fix backend latency before assets. Enable caching and compression, gzip/Brotli, serve repeat visits from cache with sensible cache headers, and use a CDN to move content closer to users.
A fast first check here is the response-time checker, but be honest about what it measures. It times a single request made through the ToolFlic server route and bands that round-trip into a simple response score. That is a real, useful signal about server reachability and latency, but it is not Lighthouse, it does not compute LCP, INP or CLS, and one sample along one route is not the 75th-percentile field experience of your users.
The order to work in
Fix the biggest bottleneck first. Look at what element is your LCP, resize and compress that image, remove render-blocking JS and CSS in front of it, then address server TTFB and caching. Each step is measurable, so change one thing, re-test against field data, and move on rather than applying twenty tweaks at once and not knowing which helped.
For the asset sizes themselves, the image-compression guide walks through hitting specific size targets, which pairs directly with the LCP fix above.
Frequently Asked Questions
What is a good LCP score?
Under 2.5 seconds at the 75th percentile of real loads is considered good. Over 4 seconds needs work. LCP is the time until the largest content element on the page finishes painting, and it is usually held back by a big image or a blocking script.
Why is my PageSpeed score different from my real users?
Because one is lab data, a single simulated run, and the other is field data, the 75th-percentile of all your visitors over weeks. Your desktop on fast Wi-Fi is not a mobile user on a slow connection, so trust field data for the true experience.
Does a response-time checker measure Core Web Vitals?
No. Our checker times one request along the ToolFlic server route and scores that latency, handy for server reachability and a rough TTFB feel, but it does not compute LCP, INP or CLS, and a single sample is not your users' real-world experience. Use it as a quick backend sanity check, not a Lighthouse replacement.
What is the fastest Core Web Vitals win?
Usually the LCP image. Resize it to the actual display width, compress it, serve a modern format like WebP, and give it width or height so it does not shift layout. For most slow pages, a correctly sized hero beats every other tweak.
How do I fix render-blocking JavaScript?
Make it smaller, minify, and make it non-blocking, load scripts with defer or async so they do not pause first paint, keep only critical CSS inline, and drop any script that does not need to run before the page is visible.
What is INP and why did it replace FID?
Interaction to Next Paint measures how quickly the page responds to taps and keys across the whole visit, not just the first interaction like FID did. A high INP means heavy JavaScript is delaying responses, so the fix is usually to shrink and defer scripts.