title: Shopify Cache - what actions lead to clearing the cache
body: <p>I can't find enough infos about shopifys cache system. </p>
  
  <p>I know if the template is modified the cache gets cleared and the next call will build a new cache. But I wonder, if the code in just 1 <code>section</code> or <code>snipped</code> changed, will this empty the whole cache, or just the cache for this section<code>or</code>snipped`?</p>
  
  <p>And more important, what happens if we update product infos or the stockquantity? will this also empty the cache? (Updates run over a Shopify App that probably use the Shopify API to update the stockquantity)</p>
  
  <p>The reason for my question is that on that shop the TTFB (Time to first byte) is high if the shop is uncached. And a lot of time the shop is indeed uncached without any manual modification on the template. Now I try to find the reason why this shop is uncached so often.</p>