You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by Mohd Akhbar <my...@gmail.com> on 2014/05/19 09:07:59 UTC
bypassing cache in cache.config
Hi,
I try to exclude some streaming site (f4f, i think its flash) from
being cache by ATS. So, i add these 3 line in cache.config. How do i
know if these site really bypass the cache ?
dest_host=host1.akamaihd.net action=never-cache
dest_host=host2.akamaihd.net action=never-cache
dest_domain=akamaihd.net action=never-cache
If above lines work, why is my video stop after sometime whenever i
enable the disk caching ? I'm using the default one in storage.config
(var/trafficserver 256M) and by the way log from cache says 'cache
enabled' as in diags.log
[May 19 14:34:07.272] {0x2b3b051dd8c0} STATUS: opened
/usr/local/var/log/trafficserver/diags.log
[May 19 14:34:07.272] {0x2b3b051dd8c0} NOTE: updated diags config
[May 19 14:34:07.280] Server {0x2b3b051dd8c0} NOTE: cache clustering disabled
[May 19 14:34:07.293] Server {0x2b3b051dd8c0} NOTE: ip_allow.config
updated, reloading
[May 19 14:34:07.308] Server {0x2b3b051dd8c0} NOTE: cache clustering disabled
[May 19 14:34:07.311] Server {0x2b3b051dd8c0} NOTE: logging
initialized[3], logging_mode = 3
[May 19 14:34:07.365] Server {0x2b3b051dd8c0} NOTE: traffic server running
[May 19 14:34:07.370] Server {0x2b3b051dd8c0} NOTE: cache enabled
Fyi, my ATS is using parent proxy which is a squid. I'm quite certain
this is not an issue because if i disable the disk cache in
storage.config then the streaming is fine.
Thank you.
Re: bypassing cache in cache.config
Posted by "Alan M. Carroll" <am...@network-geographics.com>.
Mohd,
I would use curl with the --header 'Cache-Control: Only-If-Cached' to test it. That will retrieve the URL from ATS only if it is cached.
Monday, May 19, 2014, 12:07:59 AM, you wrote:
> Hi,
> I try to exclude some streaming site (f4f, i think its flash) from
> being cache by ATS. So, i add these 3 line in cache.config. How do i
> know if these site really bypass the cache ?