title: How to cache google cloud storage (GCS) with cloudflare?
body: <p>How can I cache assets stored on google cloud storage (GCS)? I've been trying to make it work in the past 2 days with no luck. My website have backend &amp; frontend, and the asset is stored on GCS. I tried the following guide:</p>
  
  <p>a. <a href="https://support.cloudflare.com/hc/en-us/articles/200168926-How-do-I-use-Cloudflare-with-Amazon-s-S3-Service-" rel="nofollow noreferrer">https://support.cloudflare.com/hc/en-us/articles/200168926-How-do-I-use-Cloudflare-with-Amazon-s-S3-Service-</a> </p>
  
  <p>b. <a href="https://cloud.google.com/storage/docs/hosting-static-website" rel="nofollow noreferrer">https://cloud.google.com/storage/docs/hosting-static-website</a> </p>
  
  <p>c. <a href="https://cloud.google.com/storage/docs/static-website#tip-dynamic" rel="nofollow noreferrer">https://cloud.google.com/storage/docs/static-website#tip-dynamic</a></p>
  
  <p>Let say my website is example.com, here's what I did: </p>
  
  <ol>
  <li><p>I created a bucket on GCS "img.example.com" </p></li>
  <li><p>On Cloudflare I set CNAME with the following: 
  Name: img.example.com 
  Value: c.storage.googleapis.com </p></li>
  <li><p>I set all object in GCS bucket 'readable by public' (<a href="https://cloud.google.com/storage/docs/access-control/making-data-public#buckets" rel="nofollow noreferrer">https://cloud.google.com/storage/docs/access-control/making-data-public#buckets</a>)</p></li>
  </ol>
  
  <p>The image is still not cached by Cloudflare and the header status still not showing CF-Status. Am I missing something? Any help would be greatly appreciated.</p>
  
  <p>Thank you.</p>