[prev in list] [next in list] [prev in thread] [next in thread]
List: squid-dev
Subject: [squid-dev] Need help regarding squid caching
From: Venkatesh Tatavarthi <venkatesh.tatavarthi () maplelabs ! com>
Date: 2018-11-26 17:57:56
Message-ID: 13dd04e60f08495eb7428632ac962334 () xormum-mbx02 ! India ! XoriantCorp ! com
[Download RAW message or body]
Hi Team,
Have configured all cache related config. But it is not caching. \
Please provide needful help.
Squid Config:
===========
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.1.0/24
#acl managerAdmin src 192.168.1.2
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost manager
#http_access allow managerAdmin manager
http_access deny manager
http_access allow localnet
http_access allow localhost
http_access deny all
http_port 3128
cache allow all
cache_dir ufs /var/spool/squid 102400 16 256
coredump_dir /var/spool/squid
#memory_cache_mode disk
minimum_object_size 0 MB
maximum_object_size 2028 MB
cache_mem 300 MB
refresh_pattern ^ftp: 1440 20% 10080
#refresh_pattern .deb$ 1440 20% 10080
#refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern .png 120 50% 86400 ignore-reload
refresh_pattern . 0 20% 4320
#refresh_pattern (Release|Packages(.gz)*)$ 0 20% 2880
#refresh_pattern . 0 20% 4320
#refresh_pattern -i .deb$ 90% 99999 override-expire override-lastmod reload-into-ims \
ignore-no-cache refresh-ims #refresh_pattern -i .rpm$ 90% 99999 override-expire \
override-lastmod reload-into-ims ignore-no-cache refresh-ims range_offset_limit -1
quick_abort_min -1 KB
Thanks,
Venkatesh
[Attachment #3 (text/html)]
<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-IN" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi Team,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> \
Have configured all \
cache related config. But it is not caching. Please provide needful help. \
<o:p></o:p></p> <p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Squid Config:<o:p></o:p></p>
<p class="MsoNormal">===========<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">acl localnet \
src 10.0.0.0/8 # RFC1918 possible internal \
network<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">acl localnet src 172.16.0.0/12 # \
RFC1918 possible internal network<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">acl localnet src \
192.168.1.0/24<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">#acl managerAdmin src \
192.168.1.2<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">acl SSL_ports port \
443<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-family:"Courier \
New"">acl Safe_ports port \
80 # http<o:p></o:p></span></p> \
<p class="MsoNormal"><span style="font-family:"Courier New"">acl Safe_ports \
port 21 # \
ftp<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-family:"Courier \
New"">acl Safe_ports port 443 # \
https<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">acl Safe_ports port \
70 # \
gopher<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">acl Safe_ports port \
210 # wais<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-family:"Courier New"">acl Safe_ports \
port 1025-65535 # unregistered ports<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-family:"Courier New"">acl Safe_ports \
port 280 # \
http-mgmt<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">acl Safe_ports port \
488 # gss-http<o:p></o:p></span></p> \
<p class="MsoNormal"><span style="font-family:"Courier New"">acl Safe_ports \
port 591 # \
filemaker<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">acl Safe_ports port \
777 # multiling \
http<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">acl CONNECT method \
CONNECT<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">http_access deny \
!Safe_ports<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">http_access deny CONNECT \
!SSL_ports<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">http_access allow localhost \
manager<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">#http_access allow managerAdmin \
manager<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">http_access deny \
manager<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">http_access allow \
localnet<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">http_access allow \
localhost<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">http_access deny \
all<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-family:"Courier \
New"">http_port 3128<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">cache allow all<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-family:"Courier New"">cache_dir ufs \
/var/spool/squid 102400 16 256<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">coredump_dir \
/var/spool/squid<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">#memory_cache_mode \
disk<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">minimum_object_size 0 \
MB<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-family:"Courier \
New"">maximum_object_size 2028 MB<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-family:"Courier New"">cache_mem 300 \
MB<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-family:"Courier \
New"">refresh_pattern ^ftp: \
1440 20% \
10080<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">#refresh_pattern \
.deb$ 1440 \
20% 10080<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">#refresh_pattern \
^gopher: 1440 \
0% 1440<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-family:"Courier New"">refresh_pattern \
.png \
120 50% 86400 \
ignore-reload<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">refresh_pattern \
. \
0 20% \
4320<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">#refresh_pattern \
(Release|Packages(.gz)*)$ \
0 20% \
2880<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">#refresh_pattern \
. \
0 20% \
4320<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">#refresh_pattern -i .deb$ 90% 99999 \
override-expire override-lastmod reload-into-ims ignore-no-cache \
refresh-ims<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">#refresh_pattern -i .rpm$ 90% 99999 \
override-expire override-lastmod reload-into-ims ignore-no-cache \
refresh-ims<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">range_offset_limit \
-1<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-family:"Courier \
New"">quick_abort_min -1 KB<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New""><o:p> </o:p></span></p> <p \
class="MsoNormal"><span style="font-family:"Courier \
New""><o:p> </o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New""><o:p> </o:p></span></p> <p \
class="MsoNormal"><span style="font-family:"Courier \
New"">Thanks,<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-family:"Courier New"">Venkatesh <o:p></o:p></span></p> <p \
class="MsoNormal"><span style="font-family:"Courier \
New""><o:p> </o:p></span></p> </div>
</body>
</html>
[Attachment #4 (unknown)]
_______________________________________________
squid-dev mailing list
squid-dev@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic