The function that Shortpixel does is to display the images in front of the visitors in the next gen WebP format, which reduces the loading time a lot.