<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,
<p>I have an issue: if I restart Squid (with Rock storage), I can no
longer get TCP_MEM_HIT for any object got cached before that
restart -- I always get TCP_HIT instead.</p>
<p><br>
</p>
<p>Steps to reproduce:</p>
<p>1) Stop squid.</p>
<p>2) Remove & create a new Rock storage, start Squid.<br>
</p>
<p>3) Get a url via Squid, e.g.:<br>
</p>
<p> curl -o /dev/null -v -x localhost:3128
<a class="moz-txt-link-freetext" href="http://cdn.bootcss.com/font-linux/0.9/font-linux.woff">http://cdn.bootcss.com/font-linux/0.9/font-linux.woff</a><a
class="moz-txt-link-freetext"
href="http://cdn.bootcss.com/font-linux/0.9/font-linux.woff"></a></p>
<p> Suppose Squid is running on localhost:3128.</p>
<p> This should get a TCP_MISS.</p>
<p>4) Repeat step 3, and this should get a TCP_MEM_HIT.</p>
<p>5) Stop & start Squid.</p>
<p>6) Repeat step 3 for more than 2 times, and all the results are
TCP_HIT, however I expect the 2nd and following rounds should be
TCP_MEM_HIT.</p>
<p><br>
</p>
<p>So it seems an object can never be copied from disk cache to
memory cache after a restart. Is this normal?</p>
<p>I tested 3.5.27 and master branch in github, the results are
same. The configuration file is attached.</p>
<p><br>
</p>
<p>Thanks.</p>
<p>Duan, Yao<br>
</p>
</body>
</html>