Re: [squid-users] Squid not caching - strange problem

From: Matus UHLAR - fantomas <uhlar_at_fantomas.sk>
Date: Sun, 2 Aug 2009 22:24:06 +0200

On 02.08.09 21:00, Mark Lodge wrote:
> have set up Squid 2.7 on Debian, I used Synaptic package manager to
> install it, I did the entire config, followd the guide here:
> http://doxfer.com/Webmin/SquidProxyServer, everthing went well and
> seemed to be working.
>
> But, in reality it was not caching.

> 1249227317.328 15833 10.0.0.33 TCP_MISS/206 677142 GET
> http://www.almeshkat.net/books/archive/books/fath%20alkader.rar -
> DIRECT/75.126.243.180 application/x-rar-compressed
> 1249227318.078 13845 10.0.0.33 TCP_MISS/206 666738 GET
> http://www.almeshkat.net/books/archive/books/fath%20alkader.rar -
> DIRECT/75.126.243.180 application/x-rar-compressed

look at the headers of this URL and do a cacheability test (google for
cacheability). If a maintainer of the website or webserver configures the
server to produce uncacheable content, squid will not cache it by default,
you must configure it a bit more aggressively.

> PS: I installed videocache too and i have a strange problem with that
> too, it seems to cache the video but does not really, I know this
> because when i watch a youtube video from my pc and i then go back to
> the video after a few min, it retrieves the video from the cache, but
> if i try to go to the same video from another pc on the same LAN it
> does not retrive it from the cache, and it does not even show up in
> http://localhost/videocache.

sre you sure the other PC is using the same squid cache?

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
99 percent of lawyers give the rest a bad name. 
Received on Sun Aug 02 2009 - 20:24:13 MDT

This archive was generated by hypermail 2.2.0 : Mon Aug 03 2009 - 12:00:02 MDT