PageSpeed Insights explained: field data vs lab data, Core Web Vitals thresholds, the performance score, and which fixes improve speed and SEO first.

On this page
In short
PageSpeed Insights is Google's free tool that measures how fast and stable a web page is, on mobile and desktop. It shows two kinds of data: field data from real Chrome users (the Core Web Vitals assessment, the one that matters for Google) and lab data from a Lighthouse test (the 0 to 100 performance score, used to diagnose problems). A page passes when, at the 75th percentile of visits, LCP is 2.5 seconds or less, INP 200 milliseconds or less and CLS 0.1 or less.
Want to go further? Ask
Quick quiz
Which kind of SEO tool is right for you?
Sorank matches your answers
Test it for 3 days on your own site and see where you stand on Google, ChatGPT and the other AIs.
Start 3-day free trial3 days free, then stop whenever you want. 90-day results guarantee, conditions apply.
PageSpeed Insights (PSI) is often the first tool marketers open when someone says the site is slow, and also the most misread. The score at the top is not what Google uses to rank pages, and a red number does not always mean a real problem for visitors. This guide explains how to read the report, based on Google's own documentation on Core Web Vitals and the PageSpeed Insights documentation.
Enter a URL at pagespeed.web.dev and you get two blocks for mobile and two for desktop:
The two often disagree. Field data reflects your real audience, their devices and networks. Lab data reflects one controlled test. When they differ, trust field data for the diagnosis of user experience, and use lab data to find causes.
Core Web Vitals are three metrics Google considers essential to user experience. Each is evaluated at the 75th percentile of page loads: 75% of visits must meet the threshold.
| Metric | What it measures | Good | Needs improvement | Poor |
|---|---|---|---|---|
| LCP (Largest Contentful Paint) | Time until the main content is displayed | 2.5 s or less | 2.5 s to 4 s | Over 4 s |
| INP (Interaction to Next Paint) | Responsiveness to clicks, taps and key presses | 200 ms or less | 200 ms to 500 ms | Over 500 ms |
| CLS (Cumulative Layout Shift) | Visual stability, unexpected movement of elements | 0.1 or less | 0.1 to 0.25 | Over 0.25 |
INP replaced First Input Delay (FID) as a Core Web Vital in March 2024. PSI also reports First Contentful Paint (FCP) and Time to First Byte (TTFB), which are useful for diagnosis but are not Core Web Vitals. You can read more in our page on Core Web Vitals and on Largest Contentful Paint.
The 0 to 100 score comes only from the Lighthouse lab test. It is a weighted average of five lab metrics: Total Blocking Time, Largest Contentful Paint, Cumulative Layout Shift, First Contentful Paint and Speed Index. A score of 90 or more is good, 50 to 89 needs improvement, under 50 is poor.
The score varies from one run to the next because network and server conditions change. Run the test several times and look at the trend, not at a single value. Above all, do not chase a 100: a page at 75 that passes the Core Web Vitals assessment in field data offers a better experience to real visitors than a page at 98 that fails it.
Core Web Vitals are part of the page experience signals used by Google's ranking systems. Google is clear that relevance and content quality come first: a fast page does not outrank a more useful one. Speed matters most as a tie breaker between comparable pages, and through its indirect effects: slow pages lose visitors before they load, convert less and are crawled less efficiently.
What PSI does not measure is just as important: content quality, search intent, backlinks or your presence in AI answers. A perfect score with thin content will not rank.
The "Opportunities" and "Diagnostics" sections list dozens of items. Prioritize by the metric that fails in field data.
Page weight also matters: very heavy HTML slows down both rendering and crawling. Check yours with our page size checker.
Google Lighthouse is the free, open-source auditing tool behind the lab section of PageSpeed Insights: it loads one page in a controlled environment and scores it from 0 to 100 in four main categories, performance, accessibility, best practices and SEO, according to the Lighthouse documentation on Chrome for Developers (updated June 2025). You can run it in three ways:
The SEO category checks the basics, such as a title, a meta description, crawlable links and a valid robots.txt; it does not judge content quality or rankings. Treat a score of 100 as a checklist passed, then run a full technical SEO audit and check how AI crawlers reach your pages with the AI crawlability audit. Recent Lighthouse versions also document checks for agentic browsing, including the discoverability of an llms.txt file.
Note
A Lighthouse run in DevTools uses your own computer and network: open the page in an incognito window, without extensions, so they do not distort the score.
For a quick on-page check of any page you visit, the free Sorank SEO Chrome extension shows titles, headings and links without a full audit, and our guide to mobile SEO covers the mobile issues that Lighthouse simulates.

Unused JavaScript is code the browser downloads and parses on a page without ever needing it. PageSpeed Insights lists it under "Reduce unused JavaScript", with each file and the estimated saving. The file list is the starting point, because it shows which third party scripts and bundles carry dead weight.
To see which bytes never run, use the Coverage panel in Chrome DevTools. Open the page in an incognito window, press Cmd+Shift+P (Ctrl+Shift+P on Windows), type "Show Coverage" and start recording. Use the page the way a visitor would: scroll, open the menu, submit a form. Then stop the recording. For each file, the report shows the share of code that did not run during your session.
Start with the cheapest step: delete the tags and plugins nobody uses. Then load each script only where it runs. Modern bundlers can drop unused exports, a process called tree shaking, and split the code by page, so each page downloads only the features it needs. For a third party widget, load it on demand, for example when the visitor opens the chat, instead of on every page load.
Tip
Remove one script at a time and measure. Code that looks unused on the home page may be needed on a form, a checkout or a logged in area, so test those pages before you release the change.
After each change, run PageSpeed Insights again and check that the item has dropped from the list. Less script also helps INP, because the browser has less work to do between a click and the next paint. For the wider view of how code affects visibility, see the SEO for developers guide.
Minifying JavaScript removes whitespace, comments and long variable names, so the browser downloads and parses fewer bytes while the code behaves the same. PageSpeed Insights lists each file that is not minified under "Minify JavaScript" in the Opportunities section, with its estimated saving in KiB. Lighthouse says minifying reduces payload size and script parse time, so it is worth doing for every script you ship.
Do it in the build, not by hand. Your build tool minifies the production output on each release, and you keep the readable source in version control. Minify first, then compress: gzip or Brotli then shrinks the smaller file further. To check the result, open the file in a browser. A minified script is a few very long lines, not thousands of short ones.
Terser is a common JavaScript minifier. You can run it on one file to see the effect:
npx terser app.js --compress --mangle -o app.min.js Most bundlers have a production mode that minifies their output, so check that it is on for your release build. Lighthouse notes that webpack v4 includes a Terser plugin by default for minified builds, and advises minifying in the build wherever you can. The details are in the Lighthouse documentation on unminified JavaScript.
| Where the file comes from | Typical problem | Fix |
|---|---|---|
| React app | The development build is deployed | Deploy the production build, and check it with React Developer Tools |
| WordPress theme or plugin | Original, unminified copies are loaded | Enable the minify option, or use a plugin that concatenates and minifies scripts |
| Hand-written script tag | The file never passes through a build | Move it into the build, or minify it at release |
| Third party tag | The vendor sends the file as it is | Ask the vendor for a minified build, or load the tag only where it is needed |
Tip
Minifying does not remove code that never runs. Use the Coverage panel first to find dead code, remove it, then minify what is left.
After the change, run PageSpeed Insights again and confirm the file has left the Minify JavaScript list. The page speed glossary entry covers the wider picture, and the JavaScript SEO guide explains how scripts affect rendering and indexing.
Text compression shrinks HTML, CSS and JavaScript files before they cross the network, and the browser unpacks them on arrival. Turn it on at the server or CDN with gzip or Brotli, then confirm that the response carries a Content-Encoding header. When it is missing, PageSpeed Insights flags the page under "Enable text compression", and the saving can be large on long HTML and CSS files.
Compression only helps text. Most image formats, such as JPEG, WebP, AVIF and PNG, already use their own compression, so gzip or Brotli gives them little or no gain. Web.dev recommends Brotli over gzip where your server supports it, and both work best on CSS, JavaScript, HTML and SVG files.
On nginx, gzip is built in. On Apache, the mod_deflate module does the job. Brotli usually needs an extra module on either server, so gzip is the safe default. The minimum size setting skips very small files, where the overhead can cost more than it saves.
# nginx: gzip is built in
gzip on;
gzip_comp_level 5;
gzip_min_length 1024;
gzip_types text/plain text/css application/javascript application/json image/svg+xml text/xml;
# Apache: mod_deflate
AddOutputFilterByType DEFLATE text/html text/css application/javascript application/json image/svg+xml Run this command in a terminal, replacing the address with your own page:
curl -sI -H "Accept-Encoding: br,gzip" https://www.example.com/ | grep -i content-encoding A line such as content-encoding: br or content-encoding: gzip confirms that the server compresses the response. If the line is missing, check the server configuration and the CDN settings, then test again.
Compression reduces transfer size but does not shorten the server work, so combine it with the caching steps above. Our page size checker shows the weight of the HTML you serve, and the page speed glossary entry covers the wider picture.
Server response time is the wait between the request and the first byte of the response, usually called Time to First Byte (TTFB). Google's web.dev guide suggests that most sites should aim for 0.8 seconds or less. A slow TTFB is a server problem, not a front end one, and no amount of image or script work fully fixes a slow LCP while the first byte arrives late.
TTFB includes the network trip, the server work and every redirect before the final page. PageSpeed Insights reports it in the diagnostics as "Reduce initial server response time", and the value appears in the lab section. Field data can differ, so compare the trend over several runs before you act.
| Symptom | Likely cause | Fix |
|---|---|---|
| Slow on every visit, even for static pages | No page cache, or a heavy theme and plugin stack | Enable full page caching and remove unused plugins |
| Slow only on dynamic pages | Slow database queries or missing indexes | Profile the slowest queries and index the columns they filter on |
| Slow for visitors far from the server | One origin server and no edge caching | Put a CDN in front of the site or move the host closer to your audience |
| Two or more hops before the page loads | Redirect chains | Link straight to the final URL |
Use our redirect checker to follow the full chain for any URL. For the redirect types and when each one fits, read the SEO redirects guide.
The 0.8 second guideline comes from web.dev on Time to First Byte, which presents it as a rough guide rather than a strict rule.
Static assets are files that rarely change, such as CSS, JavaScript, fonts and images. Give them a long Cache-Control lifetime, and a returning visitor's browser reuses the files it already has instead of downloading them again. Lighthouse lists the files that lack this under "Serve static assets with an efficient cache policy", so the fix is a header on your server or CDN, plus file names that change whenever the content does.
The audit flags scripts, stylesheets, fonts, images and media files that return a 200, 203 or 206 status and have no no-cache policy. Its results table shows each URL, its current cache lifetime and its transfer size, so you can start with the largest files. The check is described in the Lighthouse documentation on static asset caching.
The recommended header is Cache-Control: max-age=31536000, one year in seconds. Google's guidance is to cache immutable static assets for a year or longer. The immutable keyword tells browsers that support it that the file will not change while it is fresh, so they skip the revalidation request on a reload.
# nginx: one rule for the static file types
location ~* \.(css|js|woff2|webp|avif|png|jpg|svg)$ {
add_header Cache-Control "public, max-age=31536000, immutable";
}
# Apache: needs mod_headers
<FilesMatch "\.(css|js|woff2|webp|avif|png|jpg|svg)$">
Header set Cache-Control "public, max-age=31536000, immutable"
</FilesMatch> A one year lifetime is only safe if the file name changes when the file does. Most build tools can add a hash to each name, such as app.3f9a2c.js. A new release gets a new name, so the browser fetches the new file while the old copy stays cached. The HTML page that links to these files should keep a short lifetime, or no-cache, so visitors always receive the current names.
style.css. Visitors then see the old file until the lifetime ends.| File type | Cache-Control | Why |
|---|---|---|
| Hashed JavaScript, CSS and images | public, max-age=31536000, immutable | The name changes with each release |
| Fonts you will never replace | public, max-age=31536000 | Long lifetime, no hash needed |
| HTML pages | no-cache, or a short max-age | They must point to the newest file names |
Check the header with the free HTTP headers checker, or run curl -sI https://www.example.com/js/app.3f9a2c.js | grep -i cache-control. Load the page twice: on the second visit, the Network panel in DevTools shows the file as served from cache.
Tip
If a content delivery network sits in front of your site, purge its cache after you change the headers. Otherwise, responses cached with the old headers keep them until they expire.
Deferring offscreen images means telling the browser to load an image only when it nears the visible area, so the first screen gets the bandwidth it needs. Add loading="lazy" to images below the fold, and leave the images in the first viewport alone. Google's web.dev guidance says the same: lazy load only the images outside the initial viewport.
The most common mistake is lazy loading the largest image at the top of the page. A lazy image waits until it is near the viewport, so a hero image marked this way can become the slowest element in your report. Check the LCP element in PageSpeed Insights before you change anything, so you know which image is the real target.
For the hero image, do the opposite: keep it eager and ask the browser to fetch it first with fetchpriority="high". Combining loading="lazy" and fetchpriority="high" on one image does not help, because the image stays delayed while it is off screen. Use eager loading with high priority for the image the reader sees first.
<!-- Hero image: visible on load, fetched first -->
<img src="/images/hero.webp" width="1200" height="630" fetchpriority="high" alt="Dashboard of keyword rankings">
<!-- Below the fold: loaded as the reader scrolls toward it -->
<img src="/images/chart.webp" width="800" height="450" loading="lazy" alt="Ranking chart by month"> Lazy loading does not fix heavy files. An oversized image that loads late still costs bandwidth, so resize and compress it first with our free image compressor. The image optimization glossary entry explains which formats to choose. Google's full guidance is in its article on browser-level image lazy loading.
Efficient encoding means saving each image at the smallest file size that still looks right at the size it is shown. PageSpeed Insights reports this under "Efficiently encode images": Lighthouse compares each JPEG and BMP with a copy re-encoded at quality 85, and flags the ones that would save at least 4 KiB. In Lighthouse 13 and later, the check sits in an insight called "Improve image delivery". Use quality 85 as a starting point, lower the setting step by step, and stop before you see artifacts at full size.
| Image type | Format | Why |
|---|---|---|
| Photos | JPEG, WebP or AVIF | Lossy formats give the smallest files at a similar look |
| Screenshots and charts with text | PNG, or lossless WebP | Lossy compression adds artifacts around text |
| Logos and icons | SVG | Stays sharp at any size, and it is small code |
| Images with transparency | WebP or AVIF, or PNG | Keeps the transparent background |
Encoding cannot fix an image that is larger than its place on the page. A 3000 px photo shown at 800 px wastes most of its bytes. Export a few widths and let the browser pick with srcset and sizes:
<img src="/images/chart-800.webp"
srcset="/images/chart-400.webp 400w, /images/chart-800.webp 800w, /images/chart-1600.webp 1600w"
sizes="(max-width: 800px) 100vw, 800px"
width="800" height="450" loading="lazy" alt="Ranking chart by month"> Offer AVIF or WebP with a JPEG fallback using <picture>. The browser uses the first source it supports and ignores the rest:
<picture>
<source type="image/avif" srcset="/images/hero.avif">
<source type="image/webp" srcset="/images/hero.webp">
<img src="/images/hero.jpg" width="1200" height="630" fetchpriority="high" alt="Dashboard of keyword rankings">
</picture> Tip
Compare the old and new files at the size they appear on a phone, where a smaller file matters most for visitors.
For the image basics, read our image SEO guide, and for format choices the image optimization entry. The rule and its settings are in the Lighthouse documentation on efficiently encoding images.
A render blocking resource is a file the browser must download and process before it can paint the page: usually a stylesheet in the head, or a script without defer or async. PageSpeed Insights lists them under "Eliminate render-blocking resources", with each file and the time it may save. These files sit on the critical path, so every delay they cause pushes back the first render and the Largest Contentful Paint.
The goal is not to remove every file, but to let the first screen load what it needs and let the rest follow. Three techniques cover most cases: defer scripts, inline the small amount of CSS the first screen needs, and load the rest of the stylesheet without blocking.
defer downloads a script in parallel and runs it after the HTML is parsed, in the order it appears. async runs it as soon as it arrives, in no fixed order, which suits independent scripts such as an analytics tag. Use defer for scripts that depend on the page or on each other. A plain script in the head is only justified when it must run before anything else appears.
A stylesheet blocks rendering only when it applies to the current device. A file with media="print" does not hold up the screen, which makes print styles a safe example of a non blocking file. For the main stylesheet, inline the rules needed above the fold, then load the full file without blocking. Keep the inline block small, because it is repeated in every HTML response.
<head>
<style>/* only the rules needed above the fold */</style>
<link rel="preload" href="styles.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="styles.css"></noscript>
<script src="/js/app.js" defer></script>
</head> Plugins often add render blocking files that you cannot edit directly. In that case, remove the plugin or ask your developer to load its asset only on the pages that need it. The JavaScript SEO guide explains how scripts affect rendering and indexing.
| Tool | Data | Best used for |
|---|---|---|
| PageSpeed Insights | Field (CrUX) and lab (Lighthouse) for one URL | Checking a specific page and finding causes |
| Lighthouse in Chrome DevTools | Lab only, on your own machine | Testing changes before release |
| Search Console, Core Web Vitals report | Field data grouped by similar URLs | Monitoring the whole site over time |
| PageSpeed Insights API | Same as PSI, automated | Testing many URLs on a schedule |
A practical routine: monitor the Search Console report monthly, open PSI on the URL groups flagged as poor, fix the cause, then use the "Validate fix" button in Search Console.
The command line version of Google Lighthouse runs the same lab audit as PageSpeed Insights, with no browser window to open. It fits three jobs: testing many URLs in one go, comparing two versions of a page, and stopping a release when the score drops. It needs Node.js and a local copy of Chrome.
npm install -g lighthouse
lighthouse https://www.example.com/ --only-categories=performance --output=html --output-path=./report.html --view The --only-categories flag limits the run to performance, which keeps the output short. --output and --output-path save the report to a file, and --view opens the HTML report in your browser. For a desktop test, add --preset=desktop. The Lighthouse documentation recommends this preset over setting the form factor by hand for desktop.
Save the results as JSON when you want to compare runs with a script. The file lists each audit with its score and its numeric value, so you can read Largest Contentful Paint and Total Blocking Time directly instead of parsing the HTML report.
lighthouse https://www.example.com/ --only-categories=performance --output=json --output-path=./run-1.json Run the test several times and compare the median, not a single result, because the score moves from one run to the next. Keep the same machine, network and page state for every run, or the comparison means little.
Lighthouse CI, published as the @lhci/cli package, wraps the same audit so a build can fail when the performance score falls below a limit you set. Start with a loose limit, watch the results for a while, then tighten it. That way the check catches real regressions instead of normal run to run noise.
Lighthouse covers speed, but a full review also needs crawlability, content and links. Our technical SEO audit checklist lists those checks, and the Lighthouse project on GitHub documents every flag.
Use PageSpeed Insights to pass the Core Web Vitals in field data, not to reach a perfect score, then put your effort into content and authority. That is where rankings and AI citations are decided. Sorank automates that part: it writes and publishes optimized articles, builds backlinks and tracks how ChatGPT, Gemini and Claude mention your brand.
The performance score comes from a single Lighthouse lab test, and network, server load and third party scripts change between runs. Variations of several points are normal. Run the test three to five times and look at the median, and rely on field data for a stable view of real user experience.
Field data comes from the Chrome User Experience Report, which only publishes metrics for pages and sites with enough real Chrome traffic. A new or low traffic page has no data of its own. PSI then shows origin level data for the whole site if available, or only lab data.
No. Google uses Core Web Vitals measured on real users, not the Lighthouse score, and relevance and content quality weigh much more than speed. Aim to pass the Core Web Vitals assessment in field data, then invest in content, internal links and backlinks.
