trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sudheer Vinukonda <sudhe...@yahoo-inc.com>
Subject RE: Progressive download
Date Tue, 06 Oct 2015 09:29:19 GMT
<table cellspacing="0" cellpadding="0" border="0"><tr><td valign="top"><div
id='yahoo__compose_area' style="background-color:white; display:block; font-family:HelveticaNeue-Regular,Helvetica;">Are
both request URLs exactly identical? ATS by default uses the entire URL as the cache key,
so, even if the requests have different query params, they will be considered as two different
cache objects. You may need to strip the query params if that's the case (examples, cacheurl
plugin, or regex_remap plugin).<div><br></div><div>Thanks,</div><div><br></div><div>Sudheer<br><div><br><br><a
href="https://yho.com/footer0">Sent from Yahoo Mail for iPhone</a></div></div></div><div
id='yahoo__original_message' class='yQTDBase'><br><blockquote style="margin:0
0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex; ">On Oct 6, 2015, 2:10:14 AM, Umamaheswari
Muthu<umamaheswari.soft@gmail.com> wrote:<div dir="ltr">Hi,<div><br></div><div><div>I
am testing ATS 6.1.0 as a
 reverse proxy cache. </div><div>There are two client connections requesting the
same .mp4 object. I expect there shall be only one request to the origin server for one of
the objects. But each hit or each request is fetching the data from origin instead of ATS
cache. </div><div><br></div><div>I have enabled the Read While
Writer option followed the guide:</div><div><br></div><div>CONFIG
proxy.config.cache.enable_read_while_writer INT 1</div><div>CONFIG proxy.config.http.background_fill_active_timeout
INT 0</div><div>CONFIG proxy.config.http.background_fill_completed_threshold FLOAT
0.000000</div><div>CONFIG proxy.config.cache.max_doc_size INT 0</div><div><br></div><div>And
also set the Open Read Retry Timeout:</div><div><br></div><div>CONFIG
proxy.config.http.cache.max_open_read_retries INT 10</div><div>CONFIG proxy.config.http.cache.open_read_retry_time
INT 10</div><div><br></div><div>I have tried the proxy.config.http.cache.max_open_read_retries
as -1
 or 100, but the results are the same.</div><div><br></div><div>Any
configuration am I missing? Is it possible to force ATS to retrieve an object from origin
server for only once for a cache-miss object? </div></div><div><br></div><div>Thanks,</div><div>Uma</div></div><div></div></blockquote></div></html></td></tr></table>

Mime
View raw message