title: How to work with Cache-Control using WebRequest and WebResponse?
body: <p>Imagine a number of services in a Microservices architecture. Service A requests a response from service B and service B sets the <code>Cache-Control</code> header to <code>public, max-age=78261</code>.</p>
  
  <p>Is there not a .NET way to work with the requested object and a "Cache" object of some sort?</p>
  
  <p>One could think that there should/would be a <code>Cache</code> property in the <code>WebResponse</code> or <code>HttpWebResponse</code> class, interfacing the <code>Cache-Control</code> header.</p>
  
  <p><strong>Is it really neccessary to parse the <code>Cache-Control</code> string, find the value and implement support for the header manually?</strong></p>