title: .Net CORE Web API no-cache but still happens
body: <p>Using .Net Core and visual studio 2015.</p>
  
  <p>I have a Web API create in .net core, Recently in testing i realized my results are being cached (or atleast appear to be). So i implimented a response cache and set location to none:</p>
  
  <pre><code>[Route("api/[controller]")]
  public class NopProductController : Controller
  {
      private INopProductService _nopProductService { get; set; }
      public NopProductController(INopProductService nopProductService)
      {
          _nopProductService = nopProductService;
      }
  
      [HttpGet]
      [ResponseCache(Duration = 60, Location = ResponseCacheLocation.None)]
      public IActionResult GetChangedProducts()
      {
          return Ok(_nopProductService.GetChanged());
      }
  }
  </code></pre>
  
  <p>When i checked Postman and checked the headers, i found:</p>
  
  <blockquote>
    <p>Cache-Control →no-cache,max-age=60 
    Pragma →no-cache</p>
  </blockquote>
  
  <p>which looks correct i beleive. However when i edit data in my Sql Server 2012 DB on the table in question (i change 1 cell value) then refresh the request, the change isnt there.</p>
  
  <p>As you can see it appears caching is turned off.  So why would no change happen, only when i reset IIS does the change come through.</p>
  
  <p>Is this an issue with Kestrel and IIS? is there some bug or something i missed here?</p>
  
  <p>Note: WebAPI is published locally for testing + hosted via IIS on windows 10. </p>