You are hereForums / Bugs / One Youtube's video is requested twice making hit_threshold useless!

Videocache 1.9.5 is available now. This version improves support for logging and fixes video caching problems for various sites like Vimeo, Break, Tube8 etc due to change in URL patterns. Also, from this version onwards, UrlGrabber has been removed from dependencies. Check Changelog for details. If you have purchased version 1.9.x previously, you can claim free upgrade by contacting using Contact Link. Please mention the email address using which you purchased Videocache. New users proceed to download page right now, secure your copy and enjoy caching :-)

One Youtube's video is requested twice making hit_threshold useless!


No replies
Anonymous
One Youtube's video is requested twice making hit_threshold useless!
Printer-friendly versionSend to friend

Hello ,

Let me show you the logs, I just requested ONE video:

2009-05-07 18:41:38,460 30558 10.0.0.146 - REQUEST - http://v13.lscache1.googlevideo.com/videoplayback?sparams=id%2Cexpire%2C...
2009-05-07 18:41:38,460 30558 10.0.0.146 a50b4a9c31a1c669 URL_HIT YOUTUBE http://v13.lscache1.googlevideo.com/videoplayback?sparams=id%2Cexpire%2C...
2009-05-07 18:41:38,461 30558 10.0.0.146 a50b4a9c31a1c669 CACHE_MISS YOUTUBE Requested video was not found in cache.
2009-05-07 18:41:38,463 30558 10.0.0.146 a50b4a9c31a1c669 NEW_URL YOUTUBE http://v13.lscache1.googlevideo.com/videoplayback?sparams=id%2Cexpire%2C...
2009-05-07 18:41:39,011 30558 10.0.0.146 - REQUEST - http://v5.cache2.googlevideo.com/videoplayback?sparams=id%2Cexpire%2Cip%...
2009-05-07 18:41:39,011 30558 10.0.0.146 a50b4a9c31a1c669 URL_HIT YOUTUBE http://v5.cache2.googlevideo.com/videoplayback?sparams=id%2Cexpire%2Cip%...
2009-05-07 18:41:39,011 30558 10.0.0.146 a50b4a9c31a1c669 CACHE_MISS YOUTUBE Requested video was not found in cache.
2009-05-07 18:41:39,014 30558 10.0.0.146 a50b4a9c31a1c669 NEW_URL YOUTUBE http://v5.cache2.googlevideo.com/videoplayback?sparams=id%2Cexpire%2Cip%...
2009-05-07 18:43:04,422 30567 10.0.0.146 a50b4a9c31a1c669 SCHEDULED YOUTUBE Video scheduled for download.
2009-05-07 18:44:22,132 27818 10.0.0.146 a50b4a9c31a1c669 DOWNLOAD YOUTUBE 3320055 Video was downloaded and cached.

As you can notice, one youtube video results in 2 requests, which make hit_threshold parameter useless for youtube. What can I do ? It is eating all my bandwidth !

Regards,
Mr Lejeune

EDIT: In addition to that, if the user seeks a video while caching (youporn for instance), it triggers one more request each time, that makes 1 initial requests + one more requests each time the video is seeked, which make hit_threshold a little bit tricky.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, 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.

More information about formatting options

CAPTCHA
Are you a human visitor ?
Image CAPTCHA
Enter the characters (without spaces) shown in the image.

Buy Now

Videocache Bundle (RPM and tar archive) is available. Secure your copy now by clicking the button below.
No. of Servers?
For details, check this page.

Recent comments

Spread it

Thank you for spreading the word!

Who's online

There are currently 0 users and 70 guests online.