代碼: 選擇全部
GET /mts?c=2&area=&year=-1&whole=1&o=&fee=2&tvType=-1&box=0&p=2 HTTP/1.1
Host: so.tv.sohu.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; zh-TW; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9
X-Purpose: : preview
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: zh-TW,zh;q=0.8,en-US;q=0.6,en;q=0.4
Accept-Charset: Big5,utf-8;q=0.7,*;q=0.3
Connection: Keep-Alive
Cache-Control: no-cache
HTTP/1.0 200 OK
Server: nginx/0.8.32
Date: Tue, 22 May 2012 06:27:35 GMT
Content-Type: text/html; charset=GBK
Pragma: No-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
X-Cache: MISS from mini_cdn_down
X-Cache-Lookup: MISS from mini_cdn_down:80
Connection: close
請求域名指向的那個squid。如果是MISS表明這個請求的處理不是由這個squid直接處理的。HIT表明這個請求來到這裏,由我這裏的cache來處理的。
squid //proxy server
2.X-Cache-Lookup
請求域名指向的那個squid的下一個節點(父節點或者是姐妹節點)。如果是MISS多數表示squid中沒有這個請求的cache,而來squid的後端(apache)來取。HIT表明squid中有這個請求的cache。
X-Cache: 表示你的 http request 是由 proxy server 回的
MISS 表 proxy 無資料,代理動作, HIT 表 proxy 直接回應
X-Purpose: preview
服务器可以根据请求头是否包含“X-Purpose: preview”,识别刷新缩略图请求,为其定制最少的内容节省流量。
用來索取網路縮圖的指令
http://www.imququ.com/post/70.html
http://c7sky.com/diy-opera-speed-dial-f ... press.html