Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate using WebP for images #382

Open
sedders123 opened this issue Mar 3, 2022 · 5 comments · May be fixed by #509
Open

Investigate using WebP for images #382

sedders123 opened this issue Mar 3, 2022 · 5 comments · May be fixed by #509
Assignees

Comments

@sedders123
Copy link
Member

This can help improve page load times on slower connections. Think that support is wide enough we can do this now.

@RealOrangeOne
Copy link
Member

Support isn't perfect, but it's not bad.

src: https://caniuse.com/webp

@raccube
Copy link
Member

raccube commented Mar 3, 2022

Support doesn't matter. We can provide multiple formats (in most places)

@PeterJCLaw
Copy link
Member

I'm not sure it's practical for us to provide multiple image formats, at least at the moment, so support does matter.

At some point we might be able to either proxy the images (https://imgproxy.net/ is a thing) or if we move away from the GitHub Pages default post-process our sites to convert before upload (do tools for that exist?), but I think we're a way away from that being possible.

@raccube
Copy link
Member

raccube commented Mar 3, 2022

My point was the <picture> element exists and lets you use a <img> fallback.

@raccube
Copy link
Member

raccube commented Mar 3, 2022

Only thing is that we can't have multiple formats for a background-image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants