Serve image in next-gen format eventhough they are
See original GitHub issueUses-webp-images audit result varies for every scan and I am trying to find out the reason behind it.
Description: LH result varies for every scan i.e. at some times it lists images and their potential savings and at a certain time the audit passes. Note: The image is served in webp format - attached the below snapshot to indicate that the image’s extension is webp and the content type is image/webp
When I try to scan the URL - the first run it passes
"audits": {
"uses-webp-images": {
"id": "uses-webp-images",
"title": "Serve images in next-gen formats",
"description": "Image formats like JPEG 2000, JPEG XR, and WebP often provide better compression than PNG or JPEG, which means faster downloads and less data consumption. [Learn more](https://web.dev/uses-webp-images/).",
"score": 1,
"scoreDisplayMode": "numeric",
"numericValue": 0,
"numericUnit": "millisecond",
"displayValue": "",
"warnings": [],
"details": {
"type": "opportunity",
"headings": [],
"items": [],
"overallSavingsMs": 0,
"overallSavingsBytes": 0
}
}
}
And now when I scan the same domain - the result varies 😕
"audits": {
"uses-webp-images": {
"id": "uses-webp-images",
"title": "Serve images in next-gen formats",
"description": "Image formats like JPEG 2000, JPEG XR, and WebP often provide better compression than PNG or JPEG, which means faster downloads and less data consumption. [Learn more](https://web.dev/uses-webp-images/).",
"score": 0.45,
"scoreDisplayMode": "numeric",
"numericValue": 1180,
"numericUnit": "millisecond",
"displayValue": "Potential savings of 259 KiB",
"warnings": [],
"details": {
"type": "opportunity",
"headings": [
{
"key": "url",
"valueType": "thumbnail",
"label": ""
},
{
"key": "url",
"valueType": "url",
"label": "URL"
},
{
"key": "totalBytes",
"valueType": "bytes",
"label": "Resource Size"
},
{
"key": "wastedBytes",
"valueType": "bytes",
"label": "Potential Savings"
}
],
"items": [
{
"url": "https://www.tidyplaces.com/hubfs/tidy-places-owner.png",
"fromProtocol": true,
"isCrossOrigin": false,
"totalBytes": 232500,
"wastedBytes": 215728
},
{
"url": "https://www.tidyplaces.com/hubfs/tidy-places-home-advisor-approved.png",
"fromProtocol": true,
"isCrossOrigin": false,
"totalBytes": 28487,
"wastedBytes": 21947
},
{
"url": "https://www.tidyplaces.com/hubfs/tidy-places-home-advisor-award.jpg",
"fromProtocol": true,
"isCrossOrigin": false,
"totalBytes": 21869,
"wastedBytes": 18333
},
{
"url": "https://www.tidyplaces.com/hubfs/tidy-places-angies-list-award-2017.png",
"fromProtocol": true,
"isCrossOrigin": false,
"totalBytes": 15081,
"wastedBytes": 9019
}
],
"overallSavingsMs": 1180,
"overallSavingsBytes": 265027
}
}
}
```
Any help on this greatly appreciated 🙏
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
How to Serve Images in Next-Gen Formats with WordPress
Enter the next generation of image formats. JPEG 2000, JPEG XR, and WebP are modern image formats with superior compression capabilities and ...
Read more >Serve images in next-gen formats even though, they are.
Describe the bug. The tools says images needs to be delivered in next-gen format, even though, they are. To Reproduce
Read more >How To Serve Images In Next-Gen Formats Using WordPress
Next-gen image formats are file formats that often include compression information embedded in modern browsers that allow website images to be ...
Read more >Serve image in nextgen format on mobile only
I have created webp images with imagify and serving them with htaccess rules but when i ran page speed insight report it is...
Read more >How to Serve Images in Next-Gen Formats with WordPress
If you have ever run a Google Pagespeed Insights report on your website, then you probably have seen “serve images in next-gen formats”...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It looks like a server issue from our side. Thank you for looking into it!
Thanks! I can reproduce this on LH 6.3.0, but not on the latest version. This is probably worth a bisect.