[squid-users] Distributed Cache Problems

Yuri Voinov yvoinov at gmail.com
Sun May 3 17:29:01 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
 
Also refresh_pattern directives order is important.

# Add any of your own refresh_pattern entries above these.
refresh_pattern ^ftp:        1440    20%    10080
refresh_pattern ^gopher:    1440    0%    1440
refresh_pattern -i (/cgi-bin/|\?) 0    0%    0
refresh_pattern .        0    20%    4320
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This one overrides all others
directives below. Look at this     comment: # Add any of your own
refresh_pattern entries ABOVE these.

#
-----------------------------------------------------------------------------
#
#                               Optimizing cache
hits                           #
#
------------------------------------------------------------------------------#
refresh_pattern -i \.(gif|png|jpg|jpeg|ico)$ 10080 90% 43200
override-expire ignore-no-cache ignore-no-store ignore-private
refresh_pattern -i \.(iso|avi|wav|mp3|mp4|mpeg|swf|flv|x-flv)$ 43200 90%
432000 override-expire ignore-no-cache ignore-no-store ignore-private
refresh_pattern -i \.(deb|rpm|exe|zip|tar|tgz|ram|rar|bin|ppt|doc|tiff)$
10080 90% 43200 override-expire ignore-no-cache ignore-no-store
ignore-private
refresh_pattern -i \.index.(html|htm)$ 0 40% 10080
refresh_pattern -i \.(html|htm|css|js)$ 1440 40% 40320
refresh_pattern .               0       20%     4320

There is nothing surprising in the fact that a cache hit zeroing.

03.05.15 21:13, Hierony Manurung пишет:
>  Hierony Manurung
> Del Institute of Technology
> Network Management
>
>       Pada Minggu, 3 Mei 2015 22:10, Hierony Manurung
<hierony_milanisti at yahoo.co.id> menulis:
>   
>
> 
> Dear Fellow,I am implement a Distributed cache system (1 child Proxy,
2 parent proxy as sibling).
> in the cache peer algorithm, I use Weighted Round-Robin.
> But when I analyze the log using Squeezer, I am found that there is no
hit requestin the parent proxy.
>
> I have attached the conf (Child.conf, Parent1.conf,Parent2.conf), and
the log analyze
> result.
> I am very pleased that you want to lend your time to help me (Because
the deadline is very close).
>
> Thanks in advance.
>
> 
>
>
> Hierony Manurung
> Del Institute of Technology
> Network Management
>
>    
>
>   
>
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
 
iQEcBAEBCAAGBQJVRlrdAAoJENNXIZxhPexGhNsIALk4flrH6MaET8XJ2ESNhKES
jEcjcULGOCbsM39iHuBO1lfszCSOJ7A0c6grLVkKBZMnRuHjPoCAI0NYco0Rlsp7
le9b+bHQeBWT2QmmSPhyYeTEWO0tvrxu7ErE4vrDRI+73j0dZaVSKkp8hCu4K3GS
wTsH71MP7rv1QPI3Axydhs3EUT3nDqUYGbbIXF059raerq/1Qy+ywLSrrBBHQbBC
7skvZK8X9MS3hOzwUpBHQf9FqKlCY4mH9a1gW5HM2e93M6gGzF/pY2mR3yLH5CAN
KtWfg6gfm9W1Evb1gUGZ4PphifgaujGlQUVwtHQWpmUVatwDQ7rBR89tAnqlf1o=
=idXT
-----END PGP SIGNATURE-----

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20150503/f7cbc353/attachment.html>


More information about the squid-users mailing list