title: Cloudflare - no CF-Cache-Status - is it caching or not?
body: <p>I'm running <code>curl</code> on a resource on the server that is using Cloudflare as it's CDN. However, I'm not sure if it's caching or not.</p>
  
  <p>Here's the output from <code>A</code> - This is the one I'm not sure is caching:</p>
  
  <p><code>Resource A:</code></p>
  
  <pre><code>&lt; HTTP/1.1 530 
  &lt; Date: Wed, 22 Mar 2017 12:47:06 GMT
  &lt; Content-Type: text/html; charset=UTF-8
  &lt; Transfer-Encoding: chunked
  &lt; Connection: close
  &lt; Set-Cookie: __cfduid=&lt;numbers&gt;; expires=Thu, 22-Mar-18 12:47:05 GMT; path=/; domain=.&lt;domain&gt;; HttpOnly
  &lt; Cache-Control: max-age=6
  &lt; Expires: Wed, 22 Mar 2017 12:47:12 GMT
  &lt; X-Frame-Options: SAMEORIGIN
  &lt; Server: cloudflare-nginx
  &lt; CF-RAY: &lt;numbers&gt;-LHR
  </code></pre>
  
  <p><code>Resource B:</code> - this is clearly caching as it has a <code>CF-Cache-Status: HIT</code> header</p>
  
  <pre><code>&lt; HTTP/1.1 200 OK
  &lt; Date: Wed, 22 Mar 2017 12:47:56 GMT
  &lt; Content-Type: image/png
  &lt; Content-Length: 3853
  &lt; Connection: keep-alive
  &lt; Set-Cookie: __cfduid=&lt;numbers&gt;; expires=Thu, 22-Mar-18 12:47:56 GMT; path=/; domain=&lt;domain&gt;; HttpOnly
  &lt; Cf-Bgj: imgq:100
  &lt; Cf-Polished: pngoptimizer, origSize=5384
  &lt; Etag: "&lt;etag&gt;"
  &lt; Last-Modified: Fri, 17 Mar 2017 00:07:20 GMT
  &lt; X-Amz-Id-2: &lt;numbers&gt;=
  &lt; X-Amz-Meta-S3b-Last-Modified: 20170316T132941Z
  &lt; X-Amz-Request-Id: &lt;numbers&gt;
  &lt; CF-Cache-Status: HIT
  &lt; Expires: Wed, 22 Mar 2017 13:47:56 GMT
  &lt; Cache-Control: public, max-age=3600
  &lt; Server: cloudflare-nginx
  &lt; CF-RAY: &lt;numbers&gt;-LHR
  </code></pre>
  
  <p>Note I've run these <code>curl</code> requests several times.</p>
  
  <p>Any suggestions?</p>