Convert image to WebP format. WebP is designed for the web with its smaller size which makes web pages loading faster without losing images quality.
ffmpeg -i input_image.png -c:v libwebp output_image.webp
I like this video. He presented different HTTP versions in a simple illustrated way easy to understand.