title: How does varnish deal with dynamic content?
body: <p>I am studying up on caching and I am looking into varnish for caching. I am wondering though how does varnish deal with dynamically generated content?</p>
  
  <p>All over the place people are saying you shouldn't really cache content that might change a lot but on the other hand when I look at the response headers for stackoverflow I see pages being served up via varnish.</p>
  
  <p>Content here changes by the second so how does this even work? Excuse me if it's a bit of a simple question, I will research some more while this question is up.</p>