Why? Just skip webp altogether, an annoying footnote that caused more issues than it solved.
Go straight to jpeg xl and/or avif when the they are mature.
Go straight to jpeg xl and/or avif when the they are mature.
Note that this is changing rapidly. Safari ships JXL, Chrome did a few days ago, and Firefox will in the next few days. Once this flows through to all the chromium based browsers we will see pretty much 100% support on the web.