I see that CSS and JavaScript can be done with just 1700mm, so why is my website’s rating so low? The above requires 6.5 seconds and 5.5 seconds; how should I optimize it? Is it a theme issue?
Even though I’ve enabled the caching plugin’s function to remove unused CSS and it no longer displays “CSS requires 1700 mm,” Largest Contentful Paint still takes 6 seconds. Is there something wrong with my theme settings?
This reply was modified 23 hours, 1 minute ago by 2303805254.
Please check the image I uploaded. The issue with the image displayed by PageSpeed appears to be due to a discrepancy between the displayed image size and the actual image size; the image is too large. You can check the image to confirm if this is the problem.
I want to know how to set the width and height of the main image on the product page.
To set a correct width for the single product page you need to go to Appearance -> Customize -> WooCommerce -> Product images and adjust an appropriate option. Note that you set the width only, and the height will be generated automatically based on the image aspect ratio.