Within Firebug, the Etag appears like this:
Etag: W/"f505e04d188a34b2a4aaa7e759cdbae9"
Programatically, it returns:
"ETag: "55f3aa25f88ce3f7616794ccd3d139cd""
The question is, should the additional double quotes or W/ be there?
This happens on both movie and person API calls.
Bir filmi veya diziyi bulamıyor musun? Eklemek için oturum aç.
Bu öğeyi derecelendirmek veya bir listeye eklemek ister misiniz?
Üye değil misin?
Travis Bell adlı kullanıcıyı yanıtla
9 2016 tarihinde saat 1:57 ÖS'da
Hi Adi,
I've noticed that as well. I don't actually have an answer for you. The weird part is that with cURL it's fine, but in browsers t's not. That's the part that I don't get.
Maybe it's an invisible character or something, I'm just not sure.
Adi adlı kullanıcıyı yanıtla
9 2016 tarihinde saat 2:29 ÖS'da
Seems to happen about 4% of the time programmatically for Person requests. e.g. ID 54769 was fine, but 4826 had the issue.
Will keep an eye on it and see if there is a pattern. Makes me wonder if it happened to a certain number of files which were updated over a short period where there was a code error.
Adi adlı kullanıcıyı yanıtla
11 2016 tarihinde saat 12:37 ÖS'da
The W/ is the more common of the two. A lot more common. The issue is replicated both in browser and programmatically.
Okay, so film 146107 is fine:
146113 is not fine:
Adi adlı kullanıcıyı yanıtla
11 2016 tarihinde saat 12:47 ÖS'da
This seems to be the difference between the two:
W/ has gained those two entries in the header response.
Adi adlı kullanıcıyı yanıtla
11 2016 tarihinde saat 1:33 ÖS'da
Looks like Varnish-Cache or something similar is the culprit: https://www.varnish-cache.org/docs/trunk/users-guide/compression.html Check the heading: Compressing content if backends don't
Travis Bell adlı kullanıcıyı yanıtla
11 2016 tarihinde saat 1:57 ÖS'da
We don't use Varnish, but I'll take a read through that and look to see why some responses are serving the Content-Encoding/Vary headers while others aren't.
P.S. I don't have time for this right now, but will try in the next few weeks.
Adi adlı kullanıcıyı yanıtla
11 2016 tarihinde saat 2:39 ÖS'da
Makes no odds to me. It was just a curiosity, so I thought I would mention it :) But the W/ seems to be a practise which is obviously adopted by more than one caching thing.