Search squid archive

Youtube redirection loop?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi gents.

I made a little research and found one funny problem with Youtube/HTML5 caching.

When youtube output video, it starts with similar URL:

https://r12---sn-n8v7ln7y.googlevideo.com/videoplayback?c=web&clen=362967&cpn=6UqpMRDeKbePCzao&cver=as3&dur=30.046&expire=1430763762&fexp=900720%2C905652%2C907263%2C908213%2C916943%2C934954%2C938028%2C938813%2C9406849%2C9407992%2C9408352%2C9408708%2C9409252%2C9412764%2C9412987%2C9413139%2C945132%2C946008%2C948124%2C952612%2C952637%2C952642%2C957201&gir=yes&id=o-AKfRzAOg4Wx4u0w4O4uMwhUypQ8lfQ0riWhgnXOmtT_L&ip=178.88.163.102&ipbits=0&itag=140&keepalive=yes&key=cms1&lmt=1406330458866919&mime=audio%2Fmp4&pl=24&range=0-208895&ratebypass=yes&requiressl=yes&signature=72081B97C3180361969C07CDF014AB28B3A98C11.80C66D318F85132651B8044DA65F07A6C910A47B&source=youtube&sparams=clen,dur,expire,gir,id,initcwndbps,ip,ipbits,itag,keepalive,lmt,mime,mm,mn,ms,mv,pl,requiressl,source,upn&sver=3&upn=OgQOo91qH8U&redirect_counter=1&req_id=c3d2118808f2e5a8&cms_redirect=yes&mm=30&mn=sn-n8v7ln7y&ms=nxu&mt=1430741825&mv=u

which has mime type text/plain.

The size of this is above 512 bytes now (consists approx. 1-2 Kb). It is not good idea to deny caching redirector with cache object size, because of too much objects with size 1-2 Kb will gone cache.

So, when we cache this URL, we got redirection loop and youtube works poor or not works completely.

Yes, when I no cache a whole comain (googlevideo.com), it works with some delays finally. But I suggest that store-id is also stop working. In any case, YT shows serious delays full time with Chrome/FF (in IE all works perfectly).

The problem is - audio/video outputs from THE SAME domain.

I suggest, that to solve problem (squid with store-id, and I need cache YT) I need to make no cache for text/plain mime from .googlevideo.com domain.

I have no idea how to make it with Squid.

Some advice will be helpful.

WBR, Yuri

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux