1

Say, my web application responds to a http request with a response that has no "cache-control" in its header. If the client-end submits the same request within a relatively short time, what would happen? Does a cached copy of the response get used and thus the request does not need to reach the server? Or does the request get sent to the server just like the first time?

If the answer is "it depends", please indicate what the dependencies are. Thanks.

1
  • What part of the explanation in RFC 2616 are you struggling with?
    – symcbean
    Commented May 7, 2012 at 22:46

1 Answer 1

2

There is no caching behavior defined in HTTP/1.1 protocol for a resource served with no cache-related headers, so it's really up to the HTTP client's implementation.

Here is the link to RFC.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.