Improve images loading performance
-
I try optimize loading speed shop which using WPC Smart Compare.
I have very big problem with images loaded from styles as background image.
This decrease page load speed into Lighthouse and Page Speed Insight.
Please consider move images from background and use them inline into <img> html tag with loading lazy attribute.
Images are into this file: /woo-smart-compare/assets/css/frontend.css
For example: background-image: url(“../images/add.svg”);
There are 15 images used as element background.
Background images are loaded on page load.
After move images to <img>, images will be loaded only when compare window open, not every time during page loading.
This improve results few points into Lighthouse.
Thanks in advanced.
- You must be logged in to reply to this topic.