Re: [squid-users] anyone knows some info about youtube range parameter?

2012-05-05 Thread Eliezer Croitoru
SNIP it seems like if a server (apache,nginx) is responding to a range request with the full file the player will get it without any problem despite the range request. so if you do have a current cache with a lot of files you can still use it. i also got into this nice project:

Re: [squid-users] anyone knows some info about youtube range parameter?

2012-05-01 Thread Ghassan Gharabli
Cached Contents are so many -Youtube -GoogleSyndication -ADS and it will always give me a strong headache to follow every ADby caching its content not to block it because blocking any ADS URL would present a javascript error at the browser's side!. -VideoZer - android Google ( MARKET ..

Re: [squid-users] anyone knows some info about youtube range parameter?

2012-05-01 Thread Eliezer Croitoru
well a nice list. all the filesharing sites are not something i really want to cache because the effort to understand most of the sites is too much then the benefit. megavideo got shutdown. what i'm and others are very interested is microsoft windows updates. they are using a 206 range

Re: [squid-users] anyone knows some info about youtube range parameter?

2012-04-29 Thread Eliezer Croitoru
On 24/04/2012 21:02, Eliezer Croitoru wrote: as for some people asking me recently about youtube cache i have checked again and found that youtube changed their video uris and added an argument called range that is managed by the youtube player. the original url\uri dosnt include range but the

Re: [squid-users] anyone knows some info about youtube range parameter?

2012-04-29 Thread Ghassan Gharabli
Hello Eliezer, Are you trying to save all video chunks into same parts or capture / download the whole video object through CURL or whatever! but i dont think it should work since it will occure an error with the new Youtube Player. What I have reached lately is saving same youtube video chunks

Re: [squid-users] anyone knows some info about youtube range parameter?

2012-04-29 Thread Eliezer Croitoru
On 30/04/2012 02:18, Ghassan Gharabli wrote: Hello Eliezer, Are you trying to save all video chunks into same parts or capture / download the whole video object through CURL or whatever! but i dont think it should work since it will occure an error with the new Youtube Player. What I have

Re: [squid-users] anyone knows some info about youtube range parameter?

2012-04-28 Thread Eliezer Croitoru
On 27/04/2012 11:56, Hasanen AL-Bana wrote: I get around 40,000 req/min, the server is Dell R510 with Xeon cpu and 48GB of RAM, all disks are SAS (1.2TB) Reducing the number of url_rewriters cause squid to stop working and cache.log says more url_rewriters are needed...ah I forgot to say that I

Re: [squid-users] anyone knows some info about youtube range parameter?

2012-04-27 Thread Hasanen AL-Bana
On Fri, Apr 27, 2012 at 7:43 AM, Eliezer Croitoru elie...@ngtech.co.il wrote: On 25/04/2012 20:48, Hasanen AL-Bana wrote: wouldn't be better if we save the video chunks ? youtube is streaming files with 1.7MB flv chunks, youtube flash player knows how to merge them and play themso the

Re: [squid-users] anyone knows some info about youtube range parameter?

2012-04-27 Thread Eliezer Croitoru
On 27/04/2012 09:52, Hasanen AL-Bana wrote: On Fri, Apr 27, 2012 at 7:43 AM, Eliezer Croitoruelie...@ngtech.co.il wrote: On 25/04/2012 20:48, Hasanen AL-Bana wrote: wouldn't be better if we save the video chunks ? youtube is streaming files with 1.7MB flv chunks, youtube flash player knows

Re: [squid-users] anyone knows some info about youtube range parameter?

2012-04-27 Thread Hasanen AL-Bana
I get around 40,000 req/min, the server is Dell R510 with Xeon cpu and 48GB of RAM, all disks are SAS (1.2TB) Reducing the number of url_rewriters cause squid to stop working and cache.log says more url_rewriters are needed...ah I forgot to say that I have many URL_REWRITERS beside my store_url

Re: [squid-users] anyone knows some info about youtube range parameter?

2012-04-27 Thread johan firdianto
Stripping range work for me, now i can save the whole video. disadvantage of saving chunk file, same video could have some chunks. right now we could save 1.7M chunk file, nexti time youtube change range paremeter to 2.3M, it will download the same video again with different size. disadvantage of

Re: [squid-users] anyone knows some info about youtube range parameter?

2012-04-26 Thread Christian Loth
Hi, On Thursday 26 April 2012 03:44:58 Eliezer Croitoru wrote: as i already answered a detailed answer to Ghassan. i think that caching the chunks if possible is pretty good thing. i tried it with nginx but havnt got the option to try it with store_url_rewrite. To maybe save you some work,

Re: [squid-users] anyone knows some info about youtube range parameter?

2012-04-26 Thread Christian Loth
Hello, On Thursday 26 April 2012 10:15:33 johan firdianto wrote: This range behaviour related with error occured in youtube flash player ? i'm using url rewrite if any range parameter in uri videos, i stripp off. i can save the whole file of video to directory, by parsing store.log and

Re: [squid-users] anyone knows some info about youtube range parameter?

2012-04-26 Thread johan firdianto
This range behaviour related with error occured in youtube flash player ? i'm using url rewrite if any range parameter in uri videos, i stripp off. i can save the whole file of video to directory, by parsing store.log and retrieve the same video using curl/wget. The problem, when the same video is

Re: [squid-users] anyone knows some info about youtube range parameter?

2012-04-26 Thread Eliezer Croitoru
On 26/04/2012 11:15, johan firdianto wrote: This range behaviour related with error occured in youtube flash player ? i'm using url rewrite if any range parameter in uri videos, i stripp off. i can save the whole file of video to directory, by parsing store.log and retrieve the same video using

Re: [squid-users] anyone knows some info about youtube range parameter?

2012-04-26 Thread Eliezer Croitoru
On 25/04/2012 20:48, Hasanen AL-Bana wrote: wouldn't be better if we save the video chunks ? youtube is streaming files with 1.7MB flv chunks, youtube flash player knows how to merge them and play themso the range start and end will alaways be the same for the same video as long as user

Re: [squid-users] anyone knows some info about youtube range parameter?

2012-04-25 Thread Eliezer Croitoru
On 25/04/2012 06:02, Amos Jeffries wrote: On 25/04/2012 6:02 a.m., Eliezer Croitoru wrote: as for some people asking me recently about youtube cache i have checked again and found that youtube changed their video uris and added an argument called range that is managed by the youtube player. the

Re: [squid-users] anyone knows some info about youtube range parameter?

2012-04-25 Thread Ghassan Gharabli
Hello, As i remember I already discussed this subject before mentioning that Youtube several months ago added a new variable/URI RANGE. I tried to deny all URLs that comes with RANGE to avoid presenting the error at Youtube Player butb tried to investigate more and came with a solution like that

Re: [squid-users] anyone knows some info about youtube range parameter?

2012-04-25 Thread Hasanen AL-Bana
wouldn't be better if we save the video chunks ? youtube is streaming files with 1.7MB flv chunks, youtube flash player knows how to merge them and play themso the range start and end will alaways be the same for the same video as long as user doesn't fast forward it or do something

Re: [squid-users] anyone knows some info about youtube range parameter?

2012-04-25 Thread Eliezer Croitoru
On 25/04/2012 20:39, Ghassan Gharabli wrote: Hello, As i remember I already discussed this subject before mentioning that Youtube several months ago added a new variable/URI RANGE. I tried to deny all URLs that comes with RANGE to avoid presenting the error at Youtube Player butb tried to

Re: [squid-users] anyone knows some info about youtube range parameter?

2012-04-25 Thread Eliezer Croitoru
On 25/04/2012 20:48, Hasanen AL-Bana wrote: wouldn't be better if we save the video chunks ? youtube is streaming files with 1.7MB flv chunks, youtube flash player knows how to merge them and play themso the range start and end will alaways be the same for the same video as long as user

[squid-users] anyone knows some info about youtube range parameter?

2012-04-24 Thread Eliezer Croitoru
as for some people asking me recently about youtube cache i have checked again and found that youtube changed their video uris and added an argument called range that is managed by the youtube player. the original url\uri dosnt include range but the youtube player is using this argument to save

Re: [squid-users] anyone knows some info about youtube range parameter?

2012-04-24 Thread Amos Jeffries
On 25/04/2012 6:02 a.m., Eliezer Croitoru wrote: as for some people asking me recently about youtube cache i have checked again and found that youtube changed their video uris and added an argument called range that is managed by the youtube player. the original url\uri dosnt include range but