Monday, September 7, 2009

HTTP 1.1 : Caching in HTTP

Hello Friends,
I found an article on HTTP Caching which seems to be useful. I have copied some portion of the article for your reference.

HTTP is typically used for distributed information systems, where performance can be improved by the use of response caches. The HTTP/1.1 protocol includes a number of elements intended to make caching work as well as possible. Because these elements are inextricable from other aspects of the protocol, and because they interact with each other, it is useful to describe the basic caching design of HTTP separately from the detailed descriptions of methods, headers, response codes, etc.

Caching would be useless if it did not significantly improve performance. The goal of caching in HTTP/1.1 is to eliminate the need to send requests in many cases, and to eliminate the need to send full responses in many other cases. The former reduces the number of network round-trips required for many operations; we use an "expiration" mechanism for this purpose (see section 13.2). The latter reduces network bandwidth requirements; we use a "validation" mechanism for this purpose (see section 13.3).

For more details, please go through this link
http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html

No comments:

Post a Comment