<div dir="ltr">I meant in pure academic sense, not for using in real world. what is the default validation date, let say we own our own network, can we tell it never expire, or expire in 1 year? so we cache all the photos,and all our private network users can just access the same photo without ever going to public internet?</div><br><div class="gmail_quote"><div dir="ltr">On Wed, Dec 20, 2017 at 6:29 PM Yuri <<a href="mailto:yvoinov@gmail.com">yvoinov@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p><span id="m_3401657436364373525result_box" lang="en"><span>In
detail: if the picture is in the cache, and the time of its
validation has not arrived - some time will show. In case of
all required DNS queries and, especially, answers is also
cached.</span></span></p>
<p><span id="m_3401657436364373525result_box" lang="en"><span><span id="m_3401657436364373525result_box" lang="en"><span>Harsh reality: Own
</span></span></span></span><span id="m_3401657436364373525result_box" lang="en"><span><span id="m_3401657436364373525result_box" lang="en"><span><span id="m_3401657436364373525result_box" lang="en"><span><span id="m_3401657436364373525result_box" lang="en"><span>Squid's</span></span></span></span>
DNS cache is too tiny by default to store half of the
Internet addresses.</span> <span>Only few people
think of combining it with a caching DNS server of a
decent class (at least Unbound).</span></span></span></span></p>
<p><span id="m_3401657436364373525result_box" lang="en"><span><span id="m_3401657436364373525result_box" lang="en"><span>ALso, just in
practice, a disconnected from Internet Squid cache usually
shows no more than 20% of content for several sites.</span>
<span>That, in fact, corresponds to its real degree of
caching.</span></span></span></span></p>
FInally - no, Squid can't replace cutted Internet.</div><div text="#000000" bgcolor="#FFFFFF"><br>
<br>
<div class="m_3401657436364373525moz-cite-prefix">21.12.2017 06:20, Medya пишет:<br>
</div>
</div><div text="#000000" bgcolor="#FFFFFF"><blockquote type="cite">
<div dir="ltr"><span style="color:rgb(33,33,33);font-size:13px">Hi
here is my first post in this mailing list, hopefully it is
the right place to ask.</span></div></blockquote></div><div text="#000000" bgcolor="#FFFFFF"><blockquote type="cite"><div dir="ltr">
<div dir="ltr" style="color:rgb(33,33,33);font-size:13px">
<div><br>
</div>
<div>Let say I access an image <a href="http://example.com/image1.png" target="_blank">http:///example.com/image1.png</a> and
squid proxy caches it,</div>
<div>if I disconnect internet and I try to acesss <a href="http://example.com/image1.png" target="_blank">http:///example.com/image1.png</a> in
the browser. will it get the image?</div>
<div><br>
</div>
<div>so my general question is, if I have a URL in my cache,
will it make any connection to the remote hosting server at
all?</div>
</div>
</div></blockquote></div><div text="#000000" bgcolor="#FFFFFF"><blockquote type="cite">
<pre>_______________________________________________
squid-users mailing list
<a class="m_3401657436364373525moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a>
<a class="m_3401657436364373525moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a>
</pre>
</blockquote></div><div text="#000000" bgcolor="#FFFFFF">
<br>
<pre class="m_3401657436364373525moz-signature" cols="72">--
*****************************
* C++20 : Bug to the future *
*****************************</pre>
</div>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
</blockquote></div>