On 07/21/2011 12:11 PM, Alan D. Cabrera wrote:
Things were changed. However, headers should never be ignored, the old defaults 
used to be to require at least Last-Modified, which is per the 2616 specs, but 
it turns out even sites like amazon.com don't understand HTTP, and made private 
content (shopping carts) cacheable with that setting. So we tightened it down 
even further, and the default requires explicit Expires or Cache-Control: 
max-age headers.
Cool.  Need to update the documentation then I guess.

Indeed, we'll take patches. Actually, talk to Igor if you are interested in helping out :).


Setting it to 0 lets it cache "anything" that's not explicitly disallowed to 
cache.

I set the

CONFIG proxy.config.http.cache.required_headers INT 0

and still nothing gets cached.
Hmmm, yeah, this is really difficult to debug with actually have either access 
to your configs (including URLs, how you remap etc.), or your system. All I can 
suggest is to debug with the -T tracer options (e.g. -T http.*) and examine why 
it's not caching it.
How do I use this -T tracer option?  Is there a page I can read?


Note sure if it's documented (someone else should chime in), but the easiest is to simply do (after you shutdown everything with trafficserver stop):

    $ sudo traffic_server -T http.*


and send a request through the server and watch the action. What that says is to show all tracer data where the tag matches the regex "http.*".

-- Leif

Reply via email to