title: CloudFront: How to clear cache
body: <p>I am trying to remove the cache from my CloudFront, but I am going crazy with this.</p>
  
  <p>What I did so far:</p>
  
  <ol>
  <li>Create bucket and set policy.</li>
  <li>Copy the endpoint from that (I test it on browser, and it's working).</li>
  <li>Create the CloudFront with the <code>Min TTL: 1 sec</code>.</li>
  <li>Downloaded S3 Browser and set HTTP Header to <code>max-age=1</code></li>
  </ol>
  
  <p>But still, if I update my S3 bucket, my Cloudfront is showing files that I already changed.</p>
  
  <p>Can you guys point me on how to do it the right way? If there is a way to just clean cache when I want, even better, I just want to upload my files, see if CloudFront is showing the correct thing on Web, then I don't care anymore about the cache.</p>
  
  <p>Thank you!</p>