Hello,
I've noticed that certain movie posters are being returned as WebP instead of jpg although thats what the URL is requesting. This happens specifically in the w500 size. Some Examples
Rings 3 https://image.tmdb.org/t/p/w500/bbxtz5V0vvnTDA2qWbiiRC77Ok9.jpg John Wick: Chapter 2 https://image.tmdb.org/t/p/w500/zkXnKIwX5pYorKJp2fjFSfNyKT0.jpg Resident Evil The Final Chapter https://image.tmdb.org/t/p/w500/7XlaaMzQUz5EqTY0m07hn3PbGu7.jpg Kong: Skull Island https://image.tmdb.org/t/p/w500/aoUyphk4nwffrwlZRaOa0eijgpr.jpg
[Edited] I've also noticed that this happens in the w780 size also for a few movies like this Beauty and the Beast https://image.tmdb.org/t/p/w780/b9QJr2oblOu1grgOMUZF1xkUJdh.jpg La La Land https://image.tmdb.org/t/p/w780/ylXCdC106IKiarftHkcacasaAcb.jpg Arrival https://image.tmdb.org/t/p/w780/hLudzvGfpi6JlwUnsNhXwKKg4j.jpg
[Edited] This also seems to happen for movies in the w342 sizes like these Rock Dog https://image.tmdb.org/t/p/w342/1RSPgm5AzLv7BYEZSYXJsOM3eRZ.jpg Lion https://image.tmdb.org/t/p/w342/dVrpKogkQCNgRjvWrXqW4ZGmPjB.jpg The Salesman https://image.tmdb.org/t/p/w342/55yxwuTsbbmYuUQVdvnE7kVlsS4.jpg Ezra https://image.tmdb.org/t/p/w342/9HqpA6EvX9Ua8bxSpsMxCZgagBR.jpg The Last Face https://image.tmdb.org/t/p/w342/i0l3FWzQNe48TYhy4dPVsexigF4.jpg Rings 3 https://image.tmdb.org/t/p/w342/bbxtz5V0vvnTDA2qWbiiRC77Ok9.jpg
Can this be fixed?
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة Mathew Foscarini
بتاريخ فبراير 18, 2017 في 6:21 مساءا
How do you tell if it's WebP?
I'm opening the images in Chrome, but can't see how to tell it's not jpeg.
رد بواسطة Travis Bell
بتاريخ فبراير 18, 2017 في 8:00 مساءا
Our CDN should only be sending the webp versions if you're requesting them. Chrome is really the only popular client in the world today that will request webp by default though. In any case, this can be illustrated by looking at these 3 cURL requests (first one is webp, the last 2 are both JPEG's):
Content type: image/webp
Content type: image/jpeg
Content type: image/jpeg
رد بواسطة letss
بتاريخ فبراير 19, 2017 في 1:29 صباحا
@travisbell Thanks for replying. Our requests are not matching. When I try the requests you've mentioned above that are supposed to return jpeg, they all return webp to me. I'm trying this url: https://image.tmdb.org/t/p/w500/bbxtz5V0vvnTDA2qWbiiRC77Ok9.jpg
When I try a request without any Headers
You can see that both requests are returning WebP. I'm using safari's JS engine and I guess it is making requests without any headers (unfortunately I can't confirm this) but in all cases it is returning WebP for me. Is it because of the Dubai region of your CDN that is behaving this way?
PS: I am unable to format the curl response as code? How did you do it ?
رد بواسطة LucusNon
بتاريخ فبراير 19, 2017 في 2:32 صباحا
@letss::
@dormouse7 told me how to make a code-block:
Start with a line of 3 consecutive backquote
(a.k.a. backtick, a.k.a. "grave accent") characters: ```
followed by the code you want to display,
followed by another line of 3 backquote characters.
Example:
```
... code here ...
```
Result:
(Note: Another way is to use HTML <pre>...</pre> tags.
But there is a problem with that method in some cases
when the code that we want to display contains HTML tags.
So, the backtick method seems to be the more reliable way.)
رد بواسطة letss
بتاريخ فبراير 19, 2017 في 6:44 صباحا
@LucusNon thanks for your help. I was placing the code on the same line as the back-tick. Let me try and format my comment above to be more readable
رد بواسطة LucusNon
بتاريخ فبراير 19, 2017 في 7:39 صباحا
@letss:
Oops! Due to an unfortunate limitation of the quote-function,
your quotation corrupted my examples and text (not your fault).
To anyone reading the above:
Please refer to the examples in my original reply above,
not the corrupted quoted version in the reply from @letss.
رد بواسطة Travis Bell
بتاريخ فبراير 19, 2017 في 12:29 مساءا
@thinkingmedia @letss I'll submit a support ticket to our CDN. This should not be happening. I will update this thread when I have an update.
رد بواسطة temptsr
بتاريخ فبراير 20, 2017 في 6:58 صباحا
Hi, i've got the same problem:
The problem detected at Moscow region (russia). @travisbell do I need to provide any additional information for considering my issue too?
رد بواسطة Travis Bell
بتاريخ فبراير 20, 2017 في 8:39 صباحا
I've just heard back from Cloudflare about this, they confirmed a bug on their side and advised me to disable webp until they figure out what's going on.
You should see these requests start working properly in the next 10 or so minutes.
Thanks for your patience guys!
رد بواسطة letss
بتاريخ فبراير 20, 2017 في 9:52 مساءا
@travisbell thanks for your help! But unfortunately the requests are still returning webp. Did something not work in turning off webp?
رد بواسطة Travis Bell
بتاريخ فبراير 20, 2017 في 10:04 مساءا
Not sure, they said disabling it should stop it completely. Can you give me a cURL request like one above for an image that is still returning webp?
رد بواسطة temptsr
بتاريخ فبراير 21, 2017 في 3:04 صباحا
رد بواسطة letss
بتاريخ فبراير 21, 2017 في 3:33 صباحا
@temptsr @travisbell interestingly even if you specifically accept only image/jpg, it still only returns image/webp
رد بواسطة temptsr
بتاريخ فبراير 23, 2017 في 4:53 صباحا
@travisbell Hi!
Do you have any news about the problem? It's still continue to return webp content-type format :(
رد بواسطة Travis Bell
بتاريخ فبراير 23, 2017 في 11:07 صباحا
Only that the ones stuck returning webp are stuck for good. The only solution we have is to purge the entire cache but we don't have the resources to do that (it would cost us a small fortune to do this, it's pretty much a hard not going to happen).
The best option I can come up with is to build a little end point for you guys to submit the URL of bad images as you come across them to purge the files individually. Cloudflare has no way of purging by content type or by edge (we could have in theory rolled each edge to limit our origin traffic).
I don't know when I'll have time for this but I'll try today/tomorrow. Thanks for your patience.