Polish webp images not displaying content-type header

What is the name of the domain?

What is the issue you’re encountering

Webp images are being flagged in lighthouse and page speed insights as not “Serve images in next-gen formats”. Is this because they dont have a content-type header and why isnt this set by CF?

What steps have you taken to resolve the issue?

Go to https://tobaccodirect.co.uk/. Look at one of the images such as https://tobaccodirect.co.uk/wp-content/uploads/2024/10/Golden-Virginia-Yellow-Logo-768x768.png. Inspect and look at headers.

Screenshot of the error

You’d have to ask the makers of the tool why they flagged it, but the most obvious answer would be they see the file extension and use that. Content-Disposition is a header included in the screenshot which describes the file as webp. It’s a false positive and can be safely ignored.

This topic was automatically closed after 15 days. New replies are no longer allowed.