-
Notifications
You must be signed in to change notification settings - Fork 22
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
Render Blocking Script #42
Comments
👋 hello! yes, webp-hero has some major deficiencies that could be fixed:
|
i personally don't have time to address these issues any time soon, but i'm open to provide some guidance to anybody looking to contribute (we could chat on discord), and i'm happy to merge quality pull requests |
Hello @chase-moskal, I have written a super dump script to address the conditional loading and the srcset issue. Compared to your fine work, my code is trash, but it does the job well enough in my use case. I will just paste it here for now, if you have any suggestions for me to turn it into a quality pull request, I will be happy to work further on it.
Perhaps @R2wix9mtdI can adapt this to solve his issue |
@henriquemilli -- this is a good technique to conditionally load the webp hero bundle as for integrating it with webp-hero in a pull request, i think we'd ideally like to create something like i'm not sure how to find the script src url of the bundle locally from as for the srcset, i think ideally we don't just want to remove srcset, but instead be prepared to decode any active webp image within the srcset anyways, thanks for your code, it would be great if we could incorporate that kind of technique into webp-hero by default |
Great Pollyfill to support WebP. The only thing I notice now that Web Core Vitals is upon us is that there is no defer or async parameter in the HTML installation. Can you forsee any issues adding this parameter? and if so which one is supported?
Thanks
Kevin
The text was updated successfully, but these errors were encountered: