Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
Images are almost always the biggest use of bandwidth. Most sites have HTML, CSS, and JavaScript, but images like photos or artwork are regularly 5 or 10 times the size. Making careful choices about the number of images you load, how they load, their compression, resolution, and their file format, can all make a big impact on your page load times.
Concepts
- Use SVGs First - SVGs are small in file size because they cover larger areas of the screen using just a few vector points, rather than thousands or millions of individual pixels like in a JPEG or a PNG.
- Resize and Compress Images - Delivering images that are appropriately compressed and sized to their container will reduce file sizes.
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up