Apache Traffic Server Documentation - Read the Docs

11 downloads 231 Views 24KB Size Report
Jul 25, 2013 ... Apache Traffic Server Documentation, Release 3.3.1. Apache Traffic Server™ speeds Internet access, enhances website performance, and ...
accept

TS_HTTP_TXN_START_HOOK

read req hdrs

TS_HTTP_READ_REQUEST_HDR_HOOK

TS_HTTP_PRE_REMAP_HOOK

remap request

TS_HTTP_POST_REMAP_HOOK

cache lookup miss DNS

hit

TS_HTTP_SELECT_ALT_HOOK

cache match

TS_HTTP_OS_DNS_HOOK

cache fresh

TS_HTTP_READ_CACHE_HDR_HOOK no match cache fresh

TS_HTTP_CACHE_LOOKUP_COMPLETE_HOOK miss

no match stale

fresh

lock URL in cache

send cached hdrs

pick address fail try connect success TS_HTTP_SEND_REQUEST_HDR_HOOK

send req hdrs POST/PUT set up POST/PUT read no set up req transform

GET

tunnel req body

read reply hdrs

TS_HTTP_READ_RESPONSE_HDR_HOOK

check valid yes setup server read cacheable uncacheable

set up cache write

set up transform

TS_HTTP_SEND_RESPONSE_HDR_HOOK

send reply hdrs

tunnel response

TS_HTTP_TXN_CLOSE_HOOK