Hi Miles,
Below is the response whose header was provided earlier. Leif already 
identified the X-Cache header was from origin. 

[zoot@ATS ~]$ curl -D- -o/dev/null 
"http://cdn2.gsmarena.com/vv/bigpic/allview-v2-viper.jpg";
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     
0HTTP/1.1 200 OK
Date: Fri, 12 Feb 2016 17:44:03 GMT
Content-Type: image/jpeg
Content-Length: 9606
Last-Modified: Mon, 08 Feb 2016 13:24:15 GMT
ETag: "56b896ff-2586"
Expires: Thu, 10 Mar 2016 12:07:09 GMT
Cache-Control: max-age=2592000
Server: NetDNA-cache/2.2
X-Cache: HIT
Connection: keep-alive
Accept-Ranges: bytes

100  9606  100  9606    0     0  34965      0 --:--:-- --:--:-- --:--:-- 70632

--
Thanks
F.
irc: zoot

From: Miles Libbey 
Sent: Friday, February 12, 2016 10:06 PM
To: [email protected] 
Subject: Re: Query on X-Cache in HTTP header

Perhaps use curl to request the origin server directly?  For instance:


curl -D- -o/dev/null "http://gsmarena.com/foo/bar";



On Friday, February 12, 2016 11:57 AM, Muhammad Faisal <[email protected]> 
wrote:




The origin was gsmarena.com not sure about the CDN. No im not using xdebug 
plugin at all.

Thanks
F.


On 2/12/2016 8:49 PM, Leif Hedstrom wrote:


  On Feb 12, 2016, at 1:34 AM, Muhammad Faisal <[email protected]> wrote:

  Hello,
  Experts please explain what does X-Cache HIT mean in the below response 
header? Is this hit from my ATS server or origin CDN? Because for several other 
objects i can see my ATS in the "Server:" header so does it means the object is 
cached where server header has our ATS/version? 



Unless you have enabled the xdebug.so plugin, and triggered it in the request, 
this is likely coming from the origin. Maybe a peering CDN? Akamai?

— Leif




  HTTP/1.1 200 OK
  Accept-Ranges: bytes
  Age: 137073
  Cache-Control: max-age=2592000
  Connection: keep-alive
  Content-Length: 19077
  Content-Type: image/jpeg
  Date: Wed, 10 Feb 2016 19:23:11 GMT
  ETag: "56587050-4a85"
  Expires: Thu, 25 Feb 2016 18:31:09 GMT
  Last-Modified: Fri, 27 Nov 2015 15:01:36 GMT
  Server: ATS/6.1.1
  X-Cache: HIT

  Other Objects without X-Cache:
  HTTP/1.1 200 OK
  Accept-Ranges: bytes
  Age: 304
  Cache-Control: public, max-age=604800
  CF-Cache-Status: HIT
  CF-RAY: 273740b33a4b28f6-DXB
  Connection: keep-alive
  Content-Length: 9096
  Content-Type: image/png
  Date: Fri, 12 Feb 2016 09:26:34 GMT
  ETag: "cef130dd4160d11:0"
  Expires: Fri, 19 Feb 2016 09:26:34 GMT
  Last-Modified: Fri, 05 Feb 2016 18:20:17 GMT
  Server: ATS/6.1.1
  Vary: Accept-Encoding

  Thanks
  F.






Reply via email to