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

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

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!

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