I have no idea why this is and will investigate and update later. It’s 3.3MB, which is more than we started with. I set a quality of 60 and set it to progressive with no metadata. Optimized with Photoshopįor the next set of images, I optimized these with Photoshop. I ran the test ten times and got an average load time of 0.0013495 seconds. Here is the total file size for all images: This is a test with the images straight from Unsplash. I don’t want network latency to affect the results.Ĭurl -s -o /dev/null -w "%\n" -H "Pragma: no-cache" Let’s optimize some images and see the results. I am serving it up with the NPM serve package because it’s a simple HTML server that runs locally. I’m testing load time by creating a simple index.html file in each folder that loads up a table of the images. As a note, I do not change the resolution or color depth of these images, so they are all the same except for the optimizations. We will examine file size and page load time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |