How to test Squid to see if its doing its job?
-
hi all,
Followed this guide http://doc.pfsense.org/index.php/Setup_Squid_as_a_Transparent_Proxy to set it up but
when I open large image from one computer ie. from here http://www.shadedrelief.com/natural3/pages/textures.html
when I go to other computer it still takes same time to load it again?
I was wondering is there any other way to test if its doing what it suppose to?Thanks!
-
Increase memory cache too.
to see if it was a cache hit or a cache miss, do a tail -f on squid log
tail -f /var/squid/logs/access.log
-
Increase memory cache too.
to see if it was a cache hit or a cache miss, do a tail -f on squid log
tail -f /var/squid/logs/access.log
I've initially increased cache size and memory.
Doing above command does nothing since file is empty.
So that tells me something is not right.I'm on v2.0.1-RELEASE.
My test with the pictures should load same picture on other computer almost instantly?
Do you guys have any other solutions?Thanks in advance for taking the time to help!
-
Enable squid log on gui and test again.
-
Enable squid log on gui and test again.
It was already enabled and you're referring to this page?
-
the gui shows /var/squid/log,
try to look there instead of /var/squid/logs
-
Hi hi i am trying to download packages squid but is not listed.
Only I get the squid3 is the same as squid?
help me -
what version are you using? ???
I can see it on x86 and amd64 full hd install.
squid
squid-reverse
squid3check both tabs.
Available packages and Installed packages on system -> packages menu option
-
the gui shows /var/squid/log,
try to look there instead of /var/squid/logs
I've checked it last night and it was empty. I've double checked it now it's still empty.
/var/squid/logs that is -
So change gui option to match your current dir.
If gui points to a dir that does not exists, maybe your problem is there.
-
So change gui option to match your current dir.
If gui points to a dir that does not exists, maybe your problem is there.
Hmm. I've got both log and logs in there. See attached.
-
I got to work!
Friendly guy jigp from IRC channel pointed me to enable Transparent proxy under General tab after that /var/squid/log/access.log started to populate.
Now I have to figure out how to cache youtube videos, ideas?
BTW thank you for your help!
-
There is a googleproject for that, using some php files and squid.
-
There is a googleproject for that, using some php files and squid.
Are you referring to this project http://code.google.com/p/youtube-cache/
-
Are you referring to this project http://code.google.com/p/youtube-cache/
Or this one too
http://wiki.squid-cache.org/ConfigExamples/DynamicContent/YouTube?highlight=%28youtube%29
-
Are you referring to this project http://code.google.com/p/youtube-cache/
Or this one too
http://wiki.squid-cache.org/ConfigExamples/DynamicContent/YouTube?highlight=%28youtube%29
Thanks!