0

We have a requirements that some Web API responses should never be cached .

When we checked the headers in the response of a Web API 2 calls , we found that there is no Cache-Control headers.

Does this mean that Web API 2 results are not cached by default or do we need to send the header Cache-Control : no-cache , no-store will every response to ensure that results are not cached

Sabarish Sathasivan
  • 1,196
  • 2
  • 19
  • 42

1 Answers1

0

It's not cached by default.

If you want to use caching,you need to write logic or include libraries for it.