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/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/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 from your own browser to a URL 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 from your location 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 from your browser 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/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/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.
More Guides
How to Compress an Image to 100 KB (or Any Exact Size) Without Losing Quality
A tested method for hitting 100 KB, 50 KB, 20 KB or 500 KB exactly: dimension math, quality steps, and the formats that shrink best. Works on phone and desktop, no upload required.
Passport and Visa Photo Sizes by Country (US, UK, Schengen, India, Canada, Australia, China)
Exact photo sizes for US, UK, Schengen, India, Canada, Australia and China applications — millimetres, pixels, KB limits, background and head-height rules, plus how to prepare a compliant file.
How to Reduce PDF Size for Online Applications (2 MB, 5 MB, 100 KB and Other Limits)
Get scanned documents, CVs and certificates under any portal limit with real downsampling settings — plus why your PDF is huge, why merging adds pages, and how to keep text selectable.
JSON Formatter for API Debugging: Nine Common Errors and Their Fixes
Line and column errors explained: trailing commas, single quotes, unquoted keys, escaping, arrays versus objects, and the XML-to-JSON gotchas that break integrations. Paste and validate instantly.
How to Merge PDFs on a Phone for Free (Android and iPhone), No Upload
Scan pages, join them into one PDF and email it - all in the browser on your phone. Real page-count and size limits, the scan-then-merge workflow, and how to stay under a 2 MB portal cap without a desktop or an app.
QR Code Print Rules: Size, Error Correction and Contrast That Actually Scan
The numbers that decide whether a printed QR scans: module size, quiet zone, error-correction level (L/M/Q/H), matte vs gloss, print DPI and a real test routine. Generate a print-ready code free, in the browser.
Random Passwords vs Passphrases: Entropy Maths and Real Crack Times
How many bits a password really has, why length beats symbols, honest offline-crack-time maths, and where a password manager and 2FA matter. Generate a strong random password in your browser with nothing sent anywhere.
Word Count for Assignments: Limits, What Counts, and How to Trim Safely
Exactly what a word counter counts, whether the bibliography and headings are included, why 250 words is 250 words, and how to trim to the limit without breaking citations. Count free, in your browser, with no upload.
EMI vs Mortgage Loans: Tenure, Total Interest and the 28/36 Affordability Rule
The real EMI formula, why a longer tenure lowers the payment but raises total interest, the 28/36 affordability rule, part-payment and balance-transfer maths - all worked through. Calculate free, in your browser.
Base64 Data URIs for Images: the +33% Overhead and When Inlining Wins
Why base64 costs about 33% more bytes, how data URIs save or add requests, the HTTP/2 reality, cacheability trade-offs, and inline SVG vs bitmap. Encode and decode a data URI free, in your browser.
Metric and Imperial Conversions: the Factors, the Traps and the Rounding Rules
The exact factors for length, weight and temperature, the tonne vs ton vs metric-cwt trap, rounding rules for construction and cooking, and how to convert without introducing error. Convert free, in your browser.
How to Create and Submit an XML Sitemap (and What Actually Gets Pages Indexed)
A practical, honest walkthrough: build an XML sitemap, host it, reference it in robots.txt, and submit it in Google Search Console and Bing - plus why a sitemap is a hint, not a guarantee of indexing.
robots.txt Directives Explained: User-agent, Allow, Disallow, Crawl-delay and Sitemap
A clear, tested reference for every robots.txt line - how matching works, the $ and * rules, crawl-delay reality, and the mistakes that silently block the wrong things.
Meta Description Length: The Character Band and the Pixel Cut Behind the Snippet
There is no official character limit. Here is how Google actually truncates by pixel width, the ranges that usually survive on desktop and mobile, and how to write a description that gets shown instead of rewritten.
AI Crawlers, GPTBot and llms.txt: What They Mean for Your Site
Who the AI bots are (GPTBot, ClaudeBot, PerplexityBot, Google-Extended and more), how to allow or block each in robots.txt, and an honest take on what llms.txt does and does not do.
Domain Authority: What DA Actually Measures (and Why It Is Not a Google Score)
Domain Authority is a Moz prediction, not a Google metric. What DA and PA really mean, why they differ between tools, how to use them honestly, and how our checker fetches them.
How to Find Broken Links Before They Cost You Traffic and Trust
Why 404s and dead outbound links leak value, the HTTP codes behind them, a practical one-page check workflow, and how to fix each failure - using a browser-based link checker.
Google Index vs Crawl: Two Different Things Most People Conflate
Crawling, indexing and ranking are three separate stages. What crawled-but-not-indexed really means, which signals let a page be indexed, and how to verify status honestly in Search Console.
Keyword Density: Why There Is No "Safe" Percentage to Hit
What keyword density actually measures, why chasing a target percentage is a myth, when the number is a useful red flag, and how to use a density checker without stuffing.
UTM Parameters: A Clean Naming Convention and Reusable Template
What utm_source, medium, campaign, term and content actually capture, the rules for a consistent lowercase naming scheme, a copy-paste template, and the traps that wreck attribution.
HTTP Status Codes Every Site Owner Should Recognise
A plain-language map of 200, 301, 302, 404, 410, 403 and 5xx codes, what each does to your SEO, and how to read a URL's real status without guessing.
A GDPR-Ready Privacy Policy Checklist (and Why a Generator Is Only the Draft)
What a GDPR privacy policy must disclose, the many obligations that live outside the document, how CCPA differs, and how to use a policy generator without mistaking a draft for compliance.
Plagiarism vs Paraphrasing: An Honest Guide to Originality Checks
Why a browser plagiarism checker cannot compare your text to the internet, what matched-source detection actually needs, how to paraphrase legitimately, and how to use originality tools without fooling yourself.
Reading and Writing Regular Expressions Without Fear
A plain-language tour of regex syntax, the JavaScript flags (g, i, m, s, u), capture groups, the greedy-vs-lazy and engine gotchas, and how to test a pattern safely before you ship it.
CSV to JSON: How to Convert Cleanly (Delimiters, Headers and Quoting)
The traps that silently corrupt CSV data - quoted fields, embedded commas and newlines, header-vs-array shape, auto-typed numbers and BOM - and how to convert to JSON safely.
XML to JSON: What Gets Lost and How to Convert Faithfully
XML and JSON are not equivalent trees. How attributes, repeated elements, mixed content, CDATA and namespaces map across - and where silent data loss and array-vs-object ambiguity bite.
Minify, Compress or Cache? Three Speed Levers People Confuse as One
HTML minification shrinks bytes, compression shrinks transfer, and a CDN or cache cuts latency and rework. What each layer actually changes and the order to apply them.
Formatting SQL for Readable Code Review (Without Pretending It Validates It)
A SQL beautifier only reflows text - it cannot prove a query is correct. How to format for review, pick a house style, and combine it with real validation and EXPLAIN.
MD5 vs SHA-256 (and Why Neither Should Hash Your Passwords)
What cryptographic hashes are, why MD5 is broken and SHA-256 is not, why both are wrong for passwords, and why base64 is not hashing at all.
URL Encoding and Reserved Characters: What to Escape and When
Percent-encoding, the RFC 3986 reserved vs unreserved split, the difference between encoding one parameter value and a whole URL, and the double-encoding traps that break requests.
Favicon Sizes: The Complete, Honest List (and What Actually Matters)
A favicon is not one file. Which sizes serve which surfaces - tab, apple-touch, PWA 192/512, legacy ICO - what SVG can and cannot replace, and what a generator can really output.
Unix Time and the 2038 Problem: What a Timestamp Really Is
Epoch time is seconds since 1970 UTC ignoring leap seconds. Why 32-bit signed counters roll over in 2038, the seconds-versus-milliseconds bug, and always storing UTC.
UUID vs Auto-Increment IDs: Which Primary Key to Use
Random UUID v4 versus sequential integer IDs: index locality, key size, global uniqueness, enumeration risk, and the time-ordered middle ground (UUIDv7/Snowflake/ULID).
How to Upscale an Image Without Pixelation (Honest Limits)
What 2x/4x/8x interpolation really does, why enlarging cannot invent captured detail, smooth versus nearest-neighbour, and when upscaling helps versus when to leave the image alone.
WebP vs JPEG: When to Use Each (and When Neither)
WebP is 25-35% smaller and adds transparency and animation, but JPEG still wins on reach. When each fits, lossy versus lossless, and how compatibility and the quality slider change the choice.
PDF to Word: What 'Editable' Really Means (Digital vs Scanned)
Digital PDFs carry a real text layer and convert cleanly; scanned PDFs need OCR with imperfect results. What a converter can and cannot give you, and how to get a good edit.
How to Scan Documents to PDF on Your Phone (Free, Private)
Turn camera photos of pages into a proper PDF: shoot pages that scan well, drag to reorder, set page size, margins and quality, merge batches, and keep everything on-device.
BMI: What It Measures and Where It Is Wrong
BMI is weight over height squared - a cheap screening proxy, not body fat or a diagnosis. Where it misleads: athletes, children, the elderly, pregnancy, and different ethnicities.
How to Calculate Age for Documents (Exact Years, Months and Days)
Age 'as of' a reference date, completed years, leap-day (Feb 29) birthdays, and unambiguous date formats for admissions, exams, visas and benefits paperwork.
Counting Business Days: Weekdays, Deadlines and the Long-Weekend Trap
Working-day math for contracts and delivery SLAs: exclude weekends, remember holidays are not built in, and handle the inclusive-versus-exclusive start-date off-by-one errors.
What a Valid Invoice Needs (and What Depends on Your Country)
The elements almost every invoice carries versus the jurisdiction-specific extras - tax/GST/VAT number, tax breakdown, e-invoicing, sequential numbering. A template is not tax advice.
Text-to-Speech for Accessibility: What It Helps and Its Limits
Browser TTS speaks text with the voices already on the device. Who it helps (low vision, dyslexia, proofreading), where it falls short, and why it complements rather than replaces accessible design.
Downloading and Using YouTube Thumbnails: What's Fair
You can grab a video's preview image, but usage rights are separate from the download button. Ownership, fair use, embedding versus re-hosting, and the safe rules - plus how the downloader actually works.
How to Convert HEIC to JPG on Windows (Free, and Without Uploading Your Photos)
Open iPhone HEIC photos on a PC: use a browser HEIC converter that decodes locally, or install the HEVC/HEIF extensions. What HEIC is, why Windows struggles, and when to convert.