Hi all,

I'm relatively new to ATS, but I really like it so far.

I have a setup of a reverse proxy in front of a web server, and although it is working, it does not seem to be cacheing.

I have set up the verbose via headers, so I can see when I reload a particular image that it is a cM (cache Miss). The string I get is as follows : [uScMsSf pSeN:t cCMi p sS]

When I put this through the via explanation tool, I get the following :

Request headers received from client:
simple request (not conditional)
Result of Traffic Server cache lookup for URL:
miss (a cache "MISS")
Response information received from origin server:
served
Result of document write-to-cache:
no cache write performed
Proxy operation result:
served
Error codes (if any):
no error

The image request from my browser is sending the following headers :

1. GET /home_files/img/fr2_1.png HTTP/1.1 Host:
   imagestest.scottevest.com Connection: keep-alive Cache-Control:
   max-age=0 Accept:
   text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
   Pragma: no-cache User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X
   10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.77
   Safari/537.36 Accept-Encoding: gzip,deflate,sdch Accept-Language:
   en-US,en;q=0.8 Cookie: __qca=P0-2014987142-1390939606024;
   __CT_Data=gpv=5&apv_12360_www07=5; WRUID=0;
   __utma=71080210.1796512093.1390939606.1390939606.1390954718.2;
   __utmc=71080210;
   __utmz=71080210.1390939606.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none);
   __utmv=71080210.|1=l=%2F=1


and I get the following response headers from ATS :

1.

   HTTP/1.1 200 OK Date: Wed, 29 Jan 2014 22:15:08 GMT Server:
   ATS/4.1.2 Last-Modified: Wed, 02 Oct 2013 22:15:10 GMT ETag:
   "14e57-4e7c9670a1780" Accept-Ranges: bytes Content-Length: 85591
   X-Powered-By: PleskLin P3P: CP="NOI DEVa TAIa OUR BUS UNI STA"
   Content-Type: image/png Age: 26 Connection: keep-alive Via: http/1.1
   scotte6 (ApacheTrafficServer/4.1.2 [uScMsSf pSeN:t cCMi p sS])


How do I debug this issue on why it is getting a cache miss? There of course may be config parameters that may prevent it, but I have this set up as simply as possible.


Thanks,


Tim


Reply via email to