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

Version 1.9.9 is out. We have added support for Youtube mobile videos, Facebook, AOL and MySpace videos as well. Fixed caching issues for some already supported websites. Options to control cache directory selection algorithm, bandwidth usage by videocache, etc. More robust videocache scheduler with a lot more options and features. Have a look at changelog for more details. If you have purchased Videocache in last one year, Contact Us to claim your free upgrade. Please mention the email address using which you purchased Videocache. New users proceed to Pricing Page right now, secure your copy and enjoy caching :-) Also, check our new and simplified upgrade policy :-)

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.

My Book on Squid

Purchase/Renew

One License - USD $399
One License - USD $349*
Validity - One Year
Need more? Contact Us
*Includes free upgrades and support for one year.



For details, check pricing.

Recent comments

Who's online

There are currently 2 users and 138 guests online.