<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Em 30/09/15 16:35, Magic Link escreveu:<br>
</div>
<blockquote cite="mid:DUB130-W873873A85F0BEAA07CC16ABD4D0@phx.gbl"
type="cite">
<div dir="ltr"><span style="line-height: 18.176px; color: rgb(34,
34, 34); font-family: arial, sans-serif; font-size: 12.8px;
background-color: rgb(255, 255, 255);">Hi,</span>
<div style="line-height: 18.176px; color: rgb(34, 34, 34);
font-family: arial, sans-serif; font-size: 12.8px;
background-color: rgb(255, 255, 255);"><br style="line-height:
18.176px;">
</div>
<div style="line-height: 18.176px; color: rgb(34, 34, 34);
font-family: arial, sans-serif; font-size: 12.8px;
background-color: rgb(255, 255, 255);">i configure squid to
use cache. It seems to work because when i did a try with a
software's download, the second download is TCP_HIT in the
access.log.</div>
<div style="line-height: 18.176px; color: rgb(34, 34, 34);
font-family: arial, sans-serif; font-size: 12.8px;
background-color: rgb(255, 255, 255);">The question i have is
: why the majority of requests can't be cached (i have a lot
of tcp_miss/200) ? i found that dynamic content is not cached
but i don't understand.very well.</div>
<br>
</div>
</blockquote>
<br>
That's the way internet works ... most of the traffic is
dinamically generated, which in default squid configurations avoid
the content to be cached. Nowadays, with the 'everything https'
taking place, HTTPS is also non-cacheable (in default
configurations).<br>
<br>
And by default configurations, you must understand that they are
the 'SECURE' configuration. Tweaking with refresh_pattern is usually
not recommended except in some specific cases in which you're
completly clear that you're violating the HTTP protocol and can have
problems with that.<br>
<br>
In short, the days of 20-30% byte-hits are gone and will never
came back anymore.<br>
<br>
Keep your default (and secure) squid configuration, there's no
need to tweak refresh_pattern unless on very specific situations
that you clearly understand what you're doing.<br>
<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
Atenciosamente / Sincerily,
Leonardo Rodrigues
Solutti Tecnologia
<a class="moz-txt-link-freetext" href="http://www.solutti.com.br">http://www.solutti.com.br</a>
Minha armadilha de SPAM, NÃO mandem email
<a class="moz-txt-link-abbreviated" href="mailto:gertrudes@solutti.com.br">gertrudes@solutti.com.br</a>
My SPAMTRAP, do not email it
</pre>
</body>
</html>