It's documented in the file, but to be explicit

You want to edit the etc/trafficserver/cache.config file.

You can set up a URL match with either dest_domain or url_regex. You might want 
dest_domain in your situation. With each match you can control some of the 
cache parameters, including whether cookie responses are cached. So

dest_domain=www.example_domain.com prefix=cart action=ignore-server-no-cache 
cache-responses-to-cookies=0

Unfortunately you must have a cache action in addition to the cookie parameter, 
so you'll have to pick one.

Saturday, November 10, 2012, 1:27:33 PM, you wrote:

> Hi Alan, 

> Could you explain how to do that? 

> Thanks!

> Jorge Roman Novalbos
> [email protected]
> 679 99 08 62
> http://www.servotic.com

> On 10/11/2012, at 19:50, "Alan M. Carroll" <[email protected]> 
> wrote:

>> You can do something similar with the cache.config file. With that you can 
>> match URLs by regex and then tweak the cache_responses_to_cookies value just 
>> those URLs with the "cache-responses-to-cookies" option.

>> Saturday, November 10, 2012, 12:22:07 PM, you wrote:
>>> summarizing: I want to cache the all object by default 
>>> (proxy.config.http.cache.cache_responses_to_cookies INT 1) and when a 
>>> loggin cookie is present I don't want to cache and a diferent hash should 
>>> be kept.


Reply via email to