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

always request webp from picfit #16231

Merged
merged 2 commits into from
Oct 17, 2024
Merged

always request webp from picfit #16231

merged 2 commits into from
Oct 17, 2024

Conversation

niklasf
Copy link
Member

@niklasf niklasf commented Oct 16, 2024

Afaict we already use webp without fallback for a couple of things (flairs, backgrounds). We could also ask picfit to deliver all images as webp. Thoughts?

Alternatively, adding fallbacks using <picture> seems pretty straight forward.

cc @kraktus, cc @schlawg

@kraktus
Copy link
Member

kraktus commented Oct 16, 2024

Yeah sorry I didn't follow up on that. If the stored format isn't the same as the one requested, I guess picfit only convert it once and then store the conversion as well?

@niklasf
Copy link
Member Author

niklasf commented Oct 16, 2024

I am actually not sure about that, but we're using picfit through the CDN, so there's caching at least at that layer.

@ornicar ornicar merged commit d59cacb into master Oct 17, 2024
9 checks passed
@niklasf niklasf deleted the webp branch October 17, 2024 08:17
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 this pull request may close these issues.

3 participants