VideoCache

Youtube Caching Problem

by jamso on 19 May 2010

Hi;
We are facing this problem since we upgraded to 1.9.4.
Since we upgrade, Youtube videos loading slow .. I thought something in our upgrade wrong.
I did format and installed (Fedora 12 + squid + apache + videocache) and every thing is working fine accept Youtube.
When watching new video .. its downloaded and cached.
When watching it again .. in logs saying its served from cache but looking at my main router i see its downloading again .. iam not taking it from cache.
More i did test on redtube .. its working very good .. when watching cached video ... iam taking it with high speed.

So cached Youtube videos (only) not surfing from cache though in logs writing served from cache .. That is why its slow while loading streaming video .. its taking it back directly from internet.

Any help !!

3 Answers

by Kulbir Saini on 20 May 2010

Hi!

Are you facing this problem for a particular video or this is happening for all the videos?

Also, please share details like Python and Squid version on your F12 installation.

Thank You!

by jamso on 26 May 2010

Hi!

I did my test on this 2 links:
http://www.youtube.com/watch?v=HWhI0q8vIfI
http://www.youtube.com/watch?v=hCl9O7sNMD0&feature=related

python -V
Python 2.6.2

squid -v
Squid Cache: Version LUSCA_HEAD-r14635

by HRD Informatique on 29 Aug 2010

Hello ,

Please add this in your squid.conf and try :

acl "yourACLdstName" dst "yourSquidServerIP"
http_access allow "yourACLdstName"
never_direct allow all
always_direct allow "yourACLdstName"

You need to sign in. Please sign in to add answer to this question.