1. Optimize images.
Under this, I going to compress my image size. Select compressible images and using these online tools (https://compressjpeg.com/, https://tinyjpg.com/, https://shortpixel.com/) to compress the size of my image without losing image quality. Then I need to upload compressed images.
2. Serve scaled images
Under this, I going to scale my images as per my site required. For example, a car image section size is 69×51 but I have added the image with 296×222 size, so I need to resize in HTML or CSS from 296×222 to 69×51. (I going to use this online tool to resize images https://resizeimage.net/)
add this code on my index page footer section.
I think this is the best solution but If anyone please check and let me know you have any best ideas better than this.