Hi, Alan

Cool, the debug message helps me. I tried it early in the morning and find the 
root cause:
WARNING: cache unable to open '/cache/trafficserver/cache.db': Permission denied

Thank you very much!

Libin

2015-07-23 

hzwulibin 



发件人:Alan Carroll <[email protected]>
发送时间:2015-07-22 23:12
主题:Re: why my data didn't cached?
收件人:"[email protected]"<[email protected]>
抄送:

You can enable debugging tags in records.config and set the tag string to 
"cache" (no quotes).You should then get a lot of messages about the request and 
why or why not ATS cached it.






On Wednesday, July 22, 2015 8:39 AM, Reindl Harald <[email protected]> 
wrote:





Am 22.07.2015 um 15:31 schrieb hzwulibin:
> Hi,
> Sorry, has any log in the trafficserver can i see the response header
> from the origin?
> Here is the header catch by the tcpdump


curl --head http://url/ will show the response headers

[harry@rh:~]$ curl --head http://trafficserver.apache.org/
HTTP/1.1 200 OK
Date: Wed, 22 Jul 2015 13:38:54 GMT
Server: Apache/2.4.7 (Ubuntu)
Content-Location: index.html
Vary: negotiate,Accept-Encoding
TCN: choice
Accept-Ranges: bytes
Content-Length: 16930
Content-Type: text/html

Reply via email to