You are hereForums / Support / Youtube Caching Problem

Finally, the wait is over!!! Videocache 2.0.0 is here :-) Check changelog for changes and new features in this version. Contact Us for your free upgrade!!

Youtube Caching Problem


3 replies [Last post]
Offline
Joined: Mar 16 2010
Youtube Caching Problem

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 !!

admin's picture
Offline
Joined: Nov 2 2008

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!

Offline
Joined: Mar 16 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

HRD Informatique (not verified)

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"

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <code>
  • Lines and paragraphs break automatically.
  • HTML tags will be transformed to conform to HTML standards.
  • Search Engines will index and follow ONLY links to allowed domains.

More information about formatting options

CAPTCHA
Are you a human visitor ?
Image CAPTCHA
Enter the characters shown in the image.

My Book on Squid

Purchase/Renew

Go to Pricing page to purchase a new license or renew your existing license.

Recent comments

Who's online

There are currently 0 users and 199 guests online.