I feel like I have tried everything and I cant get the Largest Contentful Paint to reduce on my product pages. Ive converted all of my images to webp (they are quite small now). Ive optimized my custom code. removed webflow native youtube embed. At a loss on how to improve this. Seems like at this point its something on Webflows end that I can’t optimize.
Hello @MODBrian , I understand the frustration of having optimized many areas of your website, like images, custom code, and embedded content, but still struggling with LCP (Largest Contentful Paint) on your product pages. Based on the Google PageSpeed Insights report and the efforts you’ve already made, here are some unique solutions to solve the issue :
Use Content Visibility for Offscreen Content
Offscreen content or images that aren’t visible contribute to the page’s LCP.
Implement the CSS content-visibility property for content that is offscreen or not essential at first, so the browser can skip it during the layout calculation. This can improve performance
.
lazy-section {
content-visibility: auto;
contain-intrinsic-size: 100vh; /* Set a placeholder size */
}
Optimizing Font Rendering with font-display: optional.
Use font-display: optional for fonts that are not crucial to the page’s initial content. This will render the fallback font for the first paint, and if the custom font is not loaded within a short time, it will use the fallback without waiting longer.
@font-face {
font-family: 'YourFont';
src: url('your-font.woff2') format('woff2');
font-display: optional; /* Allow fallback font if custom font isn't loaded fast enough */
}
Optimize Server and Hosting Performance
Time to First Byte (TTFB) can contribute to LCP delays, especially if your hosting server is slow.
Ensure your Webflow site is hosted on Webflow’s CDN, which caches assets globally to improve content delivery speed. If you’re using external assets or self-hosted images/fonts, make sure these are also optimized for faster delivery.
Alternatively, If you’re still struggling to optimize LCP, I recommend Website Speedy, an app. It automatically handles Font optimization , performance scores and other Core Web Vitals.You can start with a 14-day free trial to see how it boosts your site performance without the manual effort.
LCP can be super stubborn, especially on product-heavy pages. Sounds like you’ve already knocked out most of the big-ticket items (WebP conversion, code optimization, ditching the native YouTube embed). Nice work on that.
At this point, you might want to check if any large fonts, third-party scripts, or layout shifts are contributing to the delay. Sometimes, even Webflow’s own structure can cause a bit of layout jank that slows LCP.
Also, if you’re using a hero image or banner above the fold, make sure it’s being prioritized in loading, setting priority manually (if you’re using custom code), or ensuring it’s not lazy-loaded might help.