GoogleChromeLabs/squoosh

Don’t download all codecs

Open

#1,040 opened on Jun 2, 2021

View on GitHub
 (2 comments) (3 reactions) (0 assignees)TypeScript (1,431 forks)batch import
UIhelp wanted

Repository metrics

Stars
 (20,335 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

We already delay downloading til the user actually loads an image, but with codecs getting bigger, we might want to allow the user to download individual codecs.

There’s a bit of UI work to be done here (can we add download buttons to the codec drop down?) and we prob. need to think about how to handle missing codecs when offline to generate meaningful error messages here.

Contributor guide