Hi, @GiardiniOscar ,
Here are some tips that you should consider for improving the page speed of your product page.
Page speed can be measured on the following pages
Pagespeed.web.dev (https://pagespeed.web.dev/)
Gtmetrix (https://gtmetrix.com/)
1-) Ensure text remains visible during Webfont load: Fonts are often larger that take time to load and browsers hide text until the font loads, causing a blank appearance. To avoid this, you can allow only those fonts to load first that are relevant to that page text.
2-) Reduce the impact of third-party code: There are a few third-party codes that reduce page speed while loading the page like Facebook, Instagram, etc we can make the theme execute after some time when the whole page gets displayed.
3-) Use passive listeners to improve scrolling performance: Passive listeners enable developers to opt-in to better scroll performance by eliminating the use of mouse wheel scroll or touch scroll when not needed with event listeners.
4-) Minimize main-thread work: Removing third-party JavaScript, and reducing the complexity of your styles and layouts can help you optimize the page speed.
5-) Avoid an excessive DOM(Document Object Model): Reducing the DOM size can help Increase the speed of your website.
6-) First Contentful Paint: The First Contentful Paint (FCP) metric measures the time difference between a page load start time to the page’s first content appearance. According to lighthouse, FCP must Be Below 1.2.
7-) Reduce JavaScript execution time: Javascript code must be optimized and compressed for better page speed.
Serve static assets with an efficient cache policy: Serving static assets with an efficient cache policy helps improve page load times on repeat visits by storing these files locally in the user’s browser.
9-) Avoid chaining critical requests: Chaining critical requests is a sequence of requests that depends on each other and are crucial for generating content on the web page. The “avoid chaining critical requests” warning means that the critical resources that load the web page are excessively large.
10-) Largest Contentful Paint element
Largest Contentful Paint (LCP) is a Core Web Vitals metric, that ensures how fast the main content of a web page loads. A good website must have an LCP of 2.5 seconds or less for at least 75% of page visits.
11-) Avoid large layout shifts: Large layout shifts can affect your page speed. It can be reduced by using a media query and fixing the image by assigning the width and height of images thus helping to better page load speed.
We hope these points can help increase the product page speed of your Shopify store. For more help on page speed, and optimization connect with us.
All the best!
Team CedCommerce.