You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by T Savarkar <ts...@gmail.com> on 2011/05/01 20:05:40 UTC

Cache hit vs match, headers question

Hi Folks,

I have a few questions from the TS SDK doc (see the figure attached):

1. What is the difference between a cache lookup hit and a cache match in
TS? Looks like a hit alone does not mean a match occurs.

2. Is the caching of http objects done only based on http headers? Is
request body used at all for determining a hit/match?

3. Which of the http headers below are used to determine a hit/match?

Accept
Accept-Charset
Accept-Encoding
Accept-Language
Authorization
Cache-Control
Connection
Cookie
Content-Length
Content-MD5
Content-Type
Date
Expect
From
Host
If-Match
If-Modified-Since
If-None-Match
If-Range
If-Unmodified-Since
Max-Forwards
Pragma
Proxy-Authorization
Range
Referer
TE
Upgrade
User-Agent
Via
Warning


Thanks,
Tri