<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    -----BEGIN PGP SIGNED MESSAGE----- <br>
    Hash: SHA256 <br>
     <br>
    Moreover,<br>
    <br>
    sometimes it is not an archive, but cemetery.<br>
    <br>
    But - somebody's see no difference.<br>
    <br>
    So, watch what's your caching in.<br>
    <br>
    13.05.16 1:09, Yuri Voinov пишет:<br>
    <span style="white-space: pre;">><br>
      > I suggest it is very bad idea to transform caching proxy to
      linux<br>
      > distro's or something else archive.<br>
      ><br>
      > As Amos said, "Squid is a cache, not an archive".<br>
      ><br>
      ><br>
      > 13.05.16 0:57, Hans-Peter Jansen пишет:<br>
      > > Hi Heiler,<br>
      ><br>
      > > On Donnerstag, 12. Mai 2016 13:28:00 Heiler Bemerguy
      wrote:<br>
      > >> Hi Pete, thanks for replying... let me see if I got
      it right..<br>
      > >><br>
      > >> Will I need to specify every url/domain I want it to
      act on ? I want<br>
      > >> squid to do it for every range-request downloads
      that should/would be<br>
      > >> cached (based on other rules, pattern_refreshs etc)<br>
      ><br>
      > > Yup, that's right. At least, that's the common approach
      to deal with CDNs.<br>
      > > I think, that disallowing range requests is too drastic
      to work fine<br>
      > on the<br>
      > > long run, but let us know, if you get to satisfactory
      solution this way.<br>
      ><br>
      > >> It doesn't need to delay any downloads as long as it
      isn't a dupe of<br>
      > >> what's already being downloaded.....<br>
      ><br>
      > > You can set to delay to zero of course.<br>
      ><br>
      > > This is only one side of the issues with CDNs. The
      other, more<br>
      > problematic<br>
      > > side of it is, that many server with different URLs
      provide the same<br>
      > files.<br>
      > > Every new address will result in a new download of
      otherwise identical<br>
      > > content.<br>
      ><br>
      > > Here's an example of openSUSE:<br>
      ><br>
      > > #<br>
      > > # this file was generated by gen_openSUSE_dedups<br>
      > > # from <a class="moz-txt-link-freetext" href="http://mirrors.opensuse.org/list/all.html">http://mirrors.opensuse.org/list/all.html</a><br>
      > > # with timestamp Thu, 12 May 2016 05:30:18 +0200<br>
      > > #<br>
      > > [openSUSE]<br>
      > > match:<br>
      > >     # openSUSE Headquarter<br>
      > >     http\:\/\/[a-z0-9]+\.opensuse\.org\/(.*)<br>
      > >     # South Africa (za)<br>
      > >    
      http\:\/\/ftp\.up\.ac\.za\/mirrors\/opensuse\/opensuse\/(.*)<br>
      > >     # Bangladesh (bd)<br>
      > >     http\:\/\/mirror\.dhakacom\.com\/opensuse\/(.*)<br>
      > >     http\:\/\/mirrors\.ispros\.com\.bd\/opensuse\/(.*)<br>
      > >     # China (cn)<br>
      > >     http\:\/\/mirror\.bjtu\.edu\.cn\/opensuse\/(.*)<br>
      > >     http\:\/\/fundawang\.lcuc\.org\.cn\/opensuse\/(.*)<br>
      > >    
      http\:\/\/mirrors\.tuna\.tsinghua\.edu\.cn\/opensuse\/(.*)<br>
      > >     http\:\/\/mirrors\.skyshe\.cn\/opensuse\/(.*)<br>
      > >     http\:\/\/mirrors\.hust\.edu\.cn\/opensuse\/(.*)<br>
      > >     http\:\/\/c\.mirrors\.lanunion\.org\/opensuse\/(.*)<br>
      > >     http\:\/\/mirrors\.hustunique\.com\/opensuse\/(.*)<br>
      > >     http\:\/\/mirrors\.sohu\.com\/opensuse\/(.*)<br>
      > >     http\:\/\/mirrors\.ustc\.edu\.cn\/opensuse\/(.*)<br>
      > >     # Hong Kong (hk)<br>
      > >     http\:\/\/mirror\.rackspace\.hk\/openSUSE\/(.*)<br>
      > >     # Indonesia (id)<br>
      > >    
      http\:\/\/mirror\.linux\.or\.id\/linux\/opensuse\/(.*)<br>
      > >     http\:\/\/buaya\.klas\.or\.id\/opensuse\/(.*)<br>
      > >    
      http\:\/\/kartolo\.sby\.datautama\.net\.id\/openSUSE\/(.*)<br>
      > >     http\:\/\/opensuse\.idrepo\.or\.id\/opensuse\/(.*)<br>
      > >     http\:\/\/mirror\.unej\.ac\.id\/opensuse\/(.*)<br>
      > >     http\:\/\/download\.opensuse\.or\.id\/(.*)<br>
      > >     http\:\/\/repo\.ugm\.ac\.id\/opensuse\/(.*)<br>
      > >     http\:\/\/dl2\.foss\-id\.web\.id\/opensuse\/(.*)<br>
      > >     # Israel (il)<br>
      > >     http\:\/\/mirror\.isoc\.org\.il\/pub\/opensuse\/(.*)<br>
      ><br>
      > >     [...] -> this list contains about 180 entries<br>
      ><br>
      > > replace: <a class="moz-txt-link-freetext" href="http://download.opensuse.org.%(intdomain)s/\1">http://download.opensuse.org.%(intdomain)s/\1</a><br>
      > > # fetch all redirected objects explicitly<br>
      > > fetch: true<br>
      ><br>
      ><br>
      > > This is, how CDNs work, but it's a nightmare for caching
      proxies.<br>
      > > In such scenarios squid_dedup comes to rescue.<br>
      ><br>
      > > Cheers,<br>
      > > Pete<br>
      > > _______________________________________________<br>
      > > squid-users mailing list<br>
      > > <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
      > > <a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a><br>
      ><br>
      ></span><br>
    <br>
    -----BEGIN PGP SIGNATURE-----
<br>
    Version: GnuPG v2
<br>
     <br>
    iQEcBAEBCAAGBQJXNNX3AAoJENNXIZxhPexGpeQH/2RlvCmJ8q5lAwGoRnrpkDOQ
<br>
    d2qmZbTXBycllJ/ajTzVQfW3WGpqm73iOCQSja91AgP9ID/VFvrp3yFcmLpbnfkO
<br>
    YzqGHOy4vMNTF6GsCVI/JvMiA5jG00BxAtEnanBvuzkwAXG+dZPNPrJDd/UKtqnI
<br>
    nzsGH9nhQAFypiHLzX1jeqGrQ8oKdZCtraImI9ONrZVBSaI/dUZoPl8T2w5jE1nc
<br>
    njN/IEnyx8wYgpO5dDj22Sfuev3S/wIoMmgzKeXGEpS2VPRBT2N2dGsbdFnSucm3
<br>
    hwQHaX6yVcT/Vpfr8rUHH1l3VlUrcoH5EoBJqgK0Ct/XRONkNUPVgSZLaUJaI3M=
<br>
    =AsWm
<br>
    -----END PGP SIGNATURE-----
<br>
    <br>
  </body>
</html>