title: AWS Cloudfront - Cache Behaviour - Path Pattern format
body: <p>The documentation for the Path Pattern property is not exactly exhaustive.</p>
  
  <blockquote>
    <p>The pattern to which this cache behavior applies. For example, you can specify images/*.jpg</p>
  </blockquote>
  
  <p>Now, i understand the path pattern could be things like <code>images/*</code> and other simple variations but, can it be something like <code>/path/*/latest/</code>?</p>
  
  <p>I can save that pattern but it doesn't seem to work as expected. It looks like Cloufront ignores everything after the <code>*</code> and caches everything below <code>path/*</code>, regardless of the fact that <code>/path/*/latest</code> is the top behaviour (0 order) with a TTL of zero.</p>
  
  <p>To further clarify, i have a <code>/path/*</code> that i want to be served (and cached) by cloudfront, with the exception of one particular subpath, say <code>path/*/latest</code> that can be served by Cloudfront, but shouldn't be cached (hence i gave it a TTL of zero).</p>