For a long time now JPEG has been one of the most popular formats used for images on the internet. The reason for its popularity was simple: It provided very good compression that allowed images to be served in smaller file sizes, and improved the time that it took to load websites.
However recently a new format has emerged as a contender to JPEG – WebP. But is it really better to use WebP than JPEG?