You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue: PageSpeed Insights is flagging our website for not serving images in next-generation formats.
File: flags.png
Format: AVIF (AV1 Image File Format)
Objective: Convert flags.png to AVIF format to improve website performance and comply with PageSpeed Insights recommendation.
Additional Information:
Converting images to AVIF can significantly reduce image file sizes, leading to faster page load times and improved user experience.
It's important to ensure browser compatibility when serving AVIF images. Most modern browsers support AVIF, but fallback options or feature detection may be necessary for older browsers.
The text was updated successfully, but these errors were encountered:
Thanks for raising this. I agree it would be a good idea to provide this. It looks like AVIF is supported by all major browsers so assuming the filesize is smaller than PNG then we should provide AVIF files as well (@1x and @2x). I would welcome a PR that implemented this.
Additionally, as part of this PR, it would be possible to finally equalise the height of all the flags, as they look awful when each one is a different height.
This sounds great, thanks. I'm interested to see what you come up with regarding the flag ratios. Bear in mind that there will have to be some kind of compromise somewhere as not all flags have the same ratios e.g. Switzerland, Nepal, Vatican city, Sri Lanka etc etc
Description:
Additional Information:
The text was updated successfully, but these errors were encountered: