Http response header to explore in detail (reponset head)

Last finished request header, the response header write it. Etc. After finished, alone in the browser cache policy to write about it.

Accept-Ranges: identifies itself not support range requests (partial requests). Specific values ​​for the field definition of units requested.

There is none and bytes two values.

Age: a non-negative integer representing the length of the message objects stored in the cache in the proxy server, in seconds.

Cache-Control: is used in the http request and response, is achieved by specifying the instruction cache mechanism.

Instruction cache is unidirectional, which means that the instruction provided in the request, is not necessarily included in the response. There may also have in the request header.

The instructions are divided into four categories: cacheability, expired, revalidated and reload the other.

Cacheability: public, private,

                no-cache: Before publishing the cached copy, cache mandatory to submit the request for verification to the original server

                no-store: the cache should not be stored in relation to any client or server in response to the request.

 

Under the first break, then go back and write, ha ha.

Guess you like

Origin www.cnblogs.com/hight1/p/11298034.html