Problem with TSCacheRead

2011-05-12 Thread ChangCheng
Hi: I have written a plug to write and read entry to the cache and from the cache on the HTTP_SEND_RESPONSE_HDR_HOOK. It's seem to work well for write, but i have a problem with TSCacheRead, if the object which i read is not in the cache, how do i solve this problem. i try to call TSHttpTxnReen

Re: TS Cache details

2011-05-12 Thread Leif Hedstrom
On 05/12/2011 10:01 AM, sridhar basam wrote: Thanks for the detailed explanation. How does ATS handle storage of HTTP range replies? Is there a single copy of the object in cache or is there an cache entry for every range request which comes in. For example GET /foo HTTP/1.1 Range: bytes=0-2047

Re: TS Cache details

2011-05-12 Thread sridhar basam
Thanks for the detailed explanation. How does ATS handle storage of HTTP range replies? Is there a single copy of the object in cache or is there an cache entry for every range request which comes in. For example GET /foo HTTP/1.1 Range: bytes=0-2047 GET /foo HTTP/1.1 Range: bytes=1024-2047 Woul