DEV Community

Discussion on: Let's make my website even better

Collapse
 
sethusenthil profile image
Sethu Senthil • Edited

Try using WebP images, its a new format that allows images to load a crap ton faster, this might also help get better SEO rating on Google. Check this out to learn more. Since this is new not many browsers support this feature, so you can use this technique

gist.github.com/SethuSenthil/e76b0...

This will load and render the webP image if supported by the browser and if it dosent it will render the png encodeding of the image. You can see this live at my website

Collapse
 
starbist profile image
Silvestar Bistrović

Great advice. I read about WebP earlier but never used it in a project before.

Also, I am serving images from Cloudinary. I will investigate how to convert to WebP.

Collapse
 
starbist profile image
Silvestar Bistrović

I just learned that I already serve WebP images, thanks to excellent Cloudinary service:
prntscr.com/jtl1ym