Cloudfront still showing image from jpg instead of webp (Image Service)
-
Hi Marko,
It is me again. I am getting lots of progress today. I am now able to show the webp image instead of jpg (both have same file extension of jpg, but content-type from response header shows image/webp, which is the expected behavior). But this is the case if I don’t use CDN (cloudfront + S3).
If I enable CDN (cloudfront + S3), the image is serving the jpg version instead of the webp version. I checked on my S3, I saw there are webp images uploaded to S3 as well.
I tried purged from CDN, reupload images, but none of them are working atm. I guess it has something to do with nginx redirection of jpg to webp behind the scene, for some reasons the image is served from CDN and hence cannot be manipulated from the nginx configuration. Any thoughts on this matter would be appreciated, thanks!
- The topic ‘Cloudfront still showing image from jpg instead of webp (Image Service)’ is closed to new replies.