[squid-users] squid cant cache flv (youtube)

From: Kris <christian@dont-contact.us>
Date: Fri, 24 Aug 2007 18:47:11 +0700

I planned to cache youtube flv using squid

my squid :

root@Cache:~# squid -v
Squid Cache: Version 2.6.STABLE13

my conf was like this :

acl video_cache dstdomain .youtube.com .google.com .llnwd.net
.dailymotion.com .friendster.com .googlevideo.com
acl video_regex urlpath_regex get_video
cache allow video_cache
cache allow video_regex

hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY

cache_mem 1024 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 50 MB
minimum_object_size 1 KB
maximum_object_size_in_memory 1 MB

i tried to access one of flv video in youtube but i never hot TCP_HIT,
it always appear TCP_MISS (also refresh page by press F5).

access.log was like this :

[24/Aug/2007:18:47:45 +0700] "GET http://74.125.15.24/get_video?
HTTP/1.1" 200 1176075 TCP_MISS:DIRECT

then i refresh page by press F5

[24/Aug/2007:18:48:15 +0700] "GET http://74.125.15.24/get_video?
HTTP/1.1" 200 1176075 TCP_MISS:DIRECT

any clue ?
Received on Fri Aug 24 2007 - 05:49:51 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT