What happens if no-cache when the http response is the same

93 views Asked by At

I add a no-cache header in the response to ensure the browser will only make use of the copy if the response is different.

But, all requests hit the MVC action and same response is sent back to the browser. However, I expect a 304 status will be sent back if the response is the same.

The response headers:

enter image description here

The request headers:

enter image description here

0

There are 0 answers