Performance issue related to srcset attribute
-
Hey guys,
We’re using a smooth scrolling script and since WP introduced the srcset attribute we’re experiencing abnormal lagging. You probably wouldn’t notice this without a smooth scroll script though.
If I go into the console and remove the srcset attribute related code, I get a consistant smooth scrolling across our pages. This is mostly affecting WooCommerce pages, like our archive and shop pages :
https://nationhats.staging.wpengine.com/shop/
https://nationhats.staging.wpengine.com/products/gender/mens-hats/To be even more specific, the lagging occurs when the browser viewport is visualizing a products list.
Our product image flipper (PIF) script double the featured image for each product, which emphasize even more the problem. Although even if we deactivate PIF the problem is still noticeable enough to affect the user experience.
I’m doing these tests on a business computer which has more computing power than needed, so hardware isn’t to blame.
Keeping a smooth user experience is as important as saving bandwidth and getting the page to load as fast as possible. Is there something we can do about this?
Thanks!
Kind regards,
Bhttps://www.ads-software.com/plugins/ricg-responsive-images/
- The topic ‘Performance issue related to srcset attribute’ is closed to new replies.