A website can have a good-looking design and still perform badly.
You may compress your images, install a caching plugin, and improve your hosting, yet Google PageSpeed Insights can continue showing problems with LCP, INP, CLS, or TTFB.
Why?
Because website performance is not controlled by one setting.
The browser has to request the HTML document, download resources, build the page, execute JavaScript, calculate styles, render content, and respond to user interactions. A delay at any stage can affect the final experience.
This guide explains what the major Core Web Vitals mean, what usually causes them to fail, and how developers and website owners can troubleshoot them.
What Are Core Web Vitals?
Core Web Vitals are user-focused performance metrics designed to measure important aspects of a webpage experience.
The current Core Web Vitals include:
- LCP — Largest Contentful Paint
- INP — Interaction to Next Paint
- CLS — Cumulative Layout Shift
Each metric measures a different part of the experience.
LCP looks primarily at loading performance. INP measures responsiveness to user interactions. CLS measures visual stability.
This matters because a page can load quickly but still feel slow when someone clicks a button. Another page may become visible quickly but jump around while images or advertisements load.
Looking at all three provides a much more useful picture of performance.
What Is LCP?
LCP, or Largest Contentful Paint, measures how long it takes for the largest visible content element to appear.
This is often a large heading, image, video poster, or other prominent element near the top of the page.
A poor LCP can make a visitor feel like the page has not finished loading, even if smaller elements have already appeared.
What Causes a Poor LCP?
Common causes include:
- Slow server response
- Large hero images
- Render-blocking CSS
- Delayed font loading
- JavaScript delaying rendering
- Poor resource prioritization
- Slow Time to First Byte
- Excessive network requests
One common mistake is to assume that LCP is simply an image optimization problem.
It isn’t.
The browser first needs to receive the document, discover resources, process styles, and determine what should be displayed. A slow server or delayed resource discovery can therefore affect LCP even when the final image itself is reasonably optimized.
How to Improve LCP
Start by identifying which element is being reported as the LCP element.
If it is a hero image, make sure the image is properly sized and compressed. Avoid loading an unnecessarily large image for a small display area.
If the LCP element is text, investigate fonts and CSS that may be delaying its rendering.
Then look at server response time and resource loading order.
In some cases, improving TTFB can help because the browser cannot begin processing the page efficiently until the initial HTML response arrives.
Google’s performance guidance specifically notes that improving LCP can require looking at factors such as TTFB and resource load delay, not just the LCP image itself.
What Is INP?
INP stands for Interaction to Next Paint.
It measures how responsive a page is when users interact with it.
For example, imagine clicking:
- A navigation menu
- A search field
- An accordion
- A filter
- A shopping cart button
- A form control
If the browser becomes busy processing JavaScript and does not respond quickly, the page can feel sluggish.
This is where INP becomes important.
Why Does JavaScript Affect INP?
JavaScript runs on the browser’s main thread along with many other tasks required to display and update a webpage.
If a long JavaScript task occupies the main thread, the browser may have to wait before responding to the user’s interaction.
Large JavaScript bundles are one possible cause, but the problem can also come from:
- Third-party scripts
- Heavy event handlers
- Large DOM updates
- Inefficient JavaScript
- Long-running calculations
- Excessive rendering work
How to Improve INP
Start by identifying which interactions are slow.
Then investigate the JavaScript executed during those interactions.
Possible improvements include:
- Breaking large JavaScript tasks into smaller tasks
- Removing unnecessary scripts
- Reducing third-party JavaScript
- Avoiding unnecessary DOM updates
- Deferring non-critical functionality
- Optimizing event handlers
- Loading features only when required
Simply minifying JavaScript does not automatically solve an INP problem.
The question is not only how large is the JavaScript file?
The better question is:
What is the browser being asked to do when the visitor interacts with the page?
What Is CLS?
CLS stands for Cumulative Layout Shift.
It measures unexpected movement of content while a page is loading.
You have probably experienced this:
You start reading an article.
Then an advertisement loads.
The content moves downward.
You click something.
Suddenly, the page shifts and you click the wrong element.
That is a poor visual experience.
What Causes Layout Shifts?
Common causes include:
- Images without defined dimensions
- Ads injected without reserved space
- Dynamically inserted content
- Web fonts changing text dimensions
- Late-loading UI components
- Elements being inserted above existing content
How to Reduce CLS
Images should have appropriate dimensions so the browser knows how much space to reserve.
The same principle applies to other dynamic elements.
If an advertisement, embedded video, or promotional component will occupy a particular area, the layout should account for that space before the content loads.
Fonts also require careful handling because a change in font metrics can cause text to move.
CLS is therefore less about making a page load faster and more about making the loading process predictable.
What Is TTFB?
TTFB means Time to First Byte.
It measures the time between making a request and receiving the first byte of the server response.
A slow TTFB can point toward problems such as:
- Slow hosting
- Server configuration
- Database queries
- Application processing
- Poor caching
- Network latency
- Backend code
This is particularly important for dynamic websites.
A visitor cannot receive the HTML response until the server has finished enough processing to send it.
How Can You Improve TTFB?
Look at the entire server-side request path.
For a WordPress website, investigate hosting, caching, database queries, plugins, and theme functionality.
For a Laravel or other PHP application, profile database queries, application logic, middleware, external API requests, and server configuration.
Caching can also significantly reduce the amount of work required to generate frequently requested pages.
But again, caching is not a universal fix.
If a request is uncached and requires expensive backend processing every time, the underlying application may still need optimization.
Render-Blocking CSS and JavaScript
Browsers cannot simply display a webpage as soon as the HTML arrives.
They need to process resources that affect how the page should look and behave.
CSS is particularly important because the browser needs style information to construct the rendered page correctly.
JavaScript can also interfere with rendering depending on how and where it is loaded.
This is why performance reports frequently highlight render-blocking resources.
What Can You Do?
Review which CSS and JavaScript files are required for the initial viewport.
Possible techniques include:
- Inlining genuinely critical CSS
- Loading non-critical CSS later
- Deferring appropriate JavaScript
- Removing unused CSS
- Reducing unnecessary scripts
- Splitting large assets where appropriate
The objective is not to remove everything.
It is to prioritize what the browser needs to display and use the page immediately.
Google’s web performance documentation describes the critical rendering path and the role of render-blocking and parser-blocking resources in initial rendering.
Why PageSpeed Insights Can Show Different Results
One of the most confusing things about website performance testing is that results can change between tests.
That is normal.
Performance can vary because of:
- Network conditions
- Device capabilities
- Server load
- Cache state
- Third-party services
- Geographic location
- Changes in page content
- Different testing environments
There is also an important distinction between lab data and field data.
Lab testing creates a controlled test environment. Field data reflects real users and real browsing conditions.
Neither should automatically be ignored.
Use lab data to investigate technical problems, and use real-user data to understand how the website performs for actual visitors.
Why Fixing One Metric May Not Fix the Website
Imagine you reduce the size of a hero image and LCP improves.
That’s good.
But if the page still contains heavy JavaScript that makes buttons slow to respond, the visitor may still have a poor experience.
Similarly, reducing JavaScript may improve INP while layout shifts continue because image dimensions were never defined.
Performance optimization works best as a system.
The goal is not:
“Get a 100 score.”
The goal is:
“Make the website fast, responsive, and stable for real users.”
WordPress: Where Should You Start?
WordPress gives website owners access to thousands of plugins and themes, but that flexibility can also create performance problems.
Before choosing a WordPress speed optimization plugin, identify what is actually slowing the website down.
Check:
- Hosting and server response
- Page caching
- Image sizes
- Plugin activity
- JavaScript execution
- CSS delivery
- Database performance
- Third-party scripts
- Font loading
- Core Web Vitals
A good optimization solution can automate repetitive tasks, but it should complement proper diagnosis rather than replace it.
Using multiple plugins that perform the same caching or asset optimization tasks can also create conflicts.
What About Magento, Laravel, and Other Platforms?
The same performance principles apply across different technologies, but the implementation changes.
For Magento 2 speed optimization, developers may need to examine full-page caching, database performance, extensions, frontend assets, and ecommerce-specific functionality.
With Laravel performance optimization, application profiling, database queries, caching, queues, and backend processing can be more important than simply reducing frontend assets.
Drupal, Joomla, PrestaShop, Symfony, Yii, CodeIgniter, CakePHP, and custom PHP applications each have their own architecture.
That is why a platform-specific approach usually produces better results than applying one generic optimization checklist everywhere.
A Practical Core Web Vitals Troubleshooting Process
If a website is failing Core Web Vitals, follow a structured process.
Step 1: Identify the failing metric
Is the problem LCP, INP, CLS, or another performance signal?
Don’t optimize blindly.
Step 2: Find the element or operation responsible
For LCP, identify the LCP element.
For INP, identify slow interactions.
For CLS, identify which elements are moving.
Step 3: Check the network and browser timeline
Look for long tasks, delayed resources, large files, slow requests, and rendering bottlenecks.
Step 4: Check the server
If TTFB is high, investigate hosting, caching, backend processing, and database activity.
Step 5: Make targeted changes
Fix the biggest bottleneck first.
Don’t change twenty things simultaneously.
Step 6: Test again
Compare the result after the change.
If the metric improves, you have evidence that the change helped.
If it doesn’t, investigate further instead of assuming the tool or website is broken.
Frequently Asked Questions
Is a high PageSpeed score necessary for SEO?
A high score is not the same thing as strong SEO. Performance is one part of the overall website experience, while content quality, relevance, technical accessibility, and many other factors also matter.
Why is my LCP high even after optimizing images?
LCP can be affected by server response time, CSS, resource discovery, resource load delay, and rendering. Image compression alone may not address the actual bottleneck.
Can too much JavaScript affect Core Web Vitals?
Yes. Heavy JavaScript can increase main-thread work and delay interactions, which can contribute to poor INP.
Why does my page move while loading?
Unexpected movement is commonly associated with CLS. Missing image dimensions, dynamically inserted content, advertisements, and font changes can all contribute.
Should I install a page speed optimization plugin?
It can be useful, particularly for platforms such as WordPress, but first identify the performance problems you need to solve. A tool is most effective when its settings match the website’s actual bottlenecks.
Final Thoughts
Core Web Vitals are more useful when you treat them as diagnostic signals rather than numbers to chase.
LCP tells you about loading.
INP tells you about responsiveness.
CLS tells you about visual stability.
TTFB helps you understand how quickly the server begins responding.
Together, these measurements can help developers move from “My website is slow” to a much more useful question:
“Which part of the loading, rendering, or interaction process is causing the delay?”
Once you know the answer, optimization becomes much more systematic.
And that is the real purpose of performance optimization—not simply getting a better report, but building a website that feels fast when real people use it.
