trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean Baptiste Favre <>
Subject Trafficserver & cache configuration
Date Wed, 19 Aug 2015 08:57:30 GMT
I'm trying to deine diffenrent cache policy, depending on url_regex.

My current config in /etc/trafficserver/records.config is:

CONFIG proxy.config.http.cache.ignore_client_no_cache INT 1
CONFIG proxy.config.http.cache.ims_on_client_no_cache INT 1
CONFIG proxy.config.http.cache.ignore_server_no_cache INT 0

The default cache policy in /etc/trafficserver/cache.config is as follow:

dest_domain=. pin-in-cache=30d
dest_domain=. revalidate=30d

I need to override setting for a specific url, which badly uses HTTP
Cache-Control. So,  /etc/trafficserver/cache.config content becomes:*
action=ignore-server-no-cache* pin-in-cache=30d* ttl-in-cache=30d* revalidate=30d
dest_domain=. pin-in-cache=30d
dest_domain=. revalidate=30d

Unfortunatly, requests from* are
still not cached. I guess I missed something, but can't find what :-/

Any idea welcomed,

Jean Baptiste Favre

View raw message