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

My site is using AVIF but the report warns that 'No WebP image found on the website' #38

Open
cloydlau opened this issue Dec 23, 2024 · 2 comments

Comments

@cloydlau
Copy link

No description provided.

@cloydlau cloydlau changed the title My site is using AVIF but the report says that 'No WebP image found on the website' My site is using AVIF but the report warns that 'No WebP image found on the website' Dec 23, 2024
@janreges
Copy link
Owner

@cloydlau - thank you for this issue. In the next version, there will be a fix that will not report missing WebP in case of AVIF support.

WebP has slightly better support for older browsers than AVIF, but today we consider this to be a negligible difference. AVIF is now supported by all major browsers on all major platforms/devices. It is no longer necessary to require WebP if AVIF is also available.

@cloydlau
Copy link
Author

Thanks for the reply, it's worth mentioning that my site also does progressive enhancement, which means it falls back to WebP if AVIF isn't supported, and to JPG/PNG if WebP isn't supported either. So presumably this scenario needs to be taken into account as well.

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

No branches or pull requests

2 participants