You are hereForums / Support / Request and Download but not playing from cache.

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

Request and Download but not playing from cache.


4 replies [Last post]
Anonymous
Request and Download but not playing from cache.

Hi All.

I have been playing with this software for an afternoon now and was
wondering what im doing wrong.

From my logs i can see that squid is requesting a page, caching it and on next play from the client, playing the file from cache. However when i disconnect the internet connection or limit my bandwidth to something very low using "tc" (to pretend its on a bad connection) the youtube stream appears to still load from the internet, slowly.

Running Fedora 11 (tried Centos 5.3 as well) with squid-3.0.STABLE15-2.fc11 and videocache-1.9.1-1.

/etc/squid/squid.conf http://paste.debian.net/43256/
/etc/videocache.conf http://paste.debian.net/43257/
/var/log/videocache/videocache.log http://paste.debian.net/43258/

Im also wondering if http://127.0.0.1/videocache/youtube/ should show proper file sizes for the cached content, or is this read from /var/spool/squid? On my system all the links show as 0 size with what seems to be random filenames.

Thanks for this great software and i appreciate any replies.

Ryan

Alfredzik (not verified)

I have exactly the same problem, except that my videocache was installed few months ago and it worked just fine, until recently it stopped serving youtube videos from cache. Videos are downloaded and stored, but on the next view SQUID download them from Internet anyway.

Alfredzik (not verified)

I've just fixed my youtube cache by replacing line 463 in videocache.py:

url = refine_url(url, ['begin', 'start'])

with

url = refine_url(url, ['begin', 'start', 'noflv'])

admin's picture
Offline
Joined: Nov 2 2008

Hi Anon,

Make sure you have set the cache_host and proxy variables properly in videocache.conf and your proxy is able to access internet via itself. That means you have to allow localhost, 127.0.0.1 and your proxy ip through your proxy in squid.conf.

Please get back with results.

Thank You!

Offline
Joined: Mar 1 2009

Don't forget to add ACL your proxy IP Address

read this http://cachevideos.com/forum/post/another-way-solve-downloaderr-youtube-...

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 206 guests online.