[squid-users] Re: squid caching dynamic content

2014-05-01 Thread babajaga
You should start here:
http://wiki.squid-cache.org/ConfigExamples/DynamicContent




--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/squid-caching-dynamic-content-tp4665779p4665780.html
Sent from the Squid - Users mailing list archive at Nabble.com.


[squid-users] Re: squid caching dynamic content

2014-05-01 Thread babajaga
youtube is another story... 
Yep. What's written in the wiki seems to be obsolete (once again): AFAICS,
now the id for a video is not unique any more, which means, not to be used
as part of the STORE-ID any more :-(

Obviously, the guys from youtube are reading here as well. And doing
eveything reasonable for them to harm caching.



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/squid-caching-dynamic-content-tp4665779p4665783.html
Sent from the Squid - Users mailing list archive at Nabble.com.


Re: [squid-users] Re: squid caching dynamic content

2014-05-01 Thread Eliezer Croitoru

On 05/01/2014 07:36 PM, babajaga wrote:

Yep. What's written in the wiki seems to be obsolete (once again): AFAICS,
now the id for a video is not unique any more, which means, not to be used
as part of the STORE-ID any more:-(

Obviously, the guys from youtube are reading here as well. And doing
eveything reasonable for them to harm caching.

It is unique but there are other properties which forces a re-fetch or 
full-fetch.
actually I was thinking about it and I do not care that youtube\google 
will read squid.
Absolutely the opposite.. They should read squid and also participate 
and tell us what they think and how to do things( if they want).


Using special scripts\programs youtube can be cached.
The main issue is the algorithm that should be used to invalidate 
objects and rate them.
Let say we have 3000 users that have watched a video, should we continue 
cache it compared to other videos? etc..


Eliezer


[squid-users] Re: squid caching dynamic content

2014-05-01 Thread babajaga
It is unique 
That is past. I checked my favourite video today once more in detail, as I
was wondering about  the droppig hit rate.
Might be country dependent, though.
Pls, verify:
Video from Dire straits: http://www.youtube.com/watch?v=8Pa9x9fZBtY
From my logs:
1398957788.924 40 88.78.165.175 TCP_MISS/200 55727 GET
http://r7---sn-a8au-nuae.googlevideo.com/videoplayback?c=webclen=10270797cpn=W_QOZclsT2zLDiglcver=as3dur=646.652expire=1398981332fexp=900225%2C912524%2C945043%2C910207%2C916611%2C937417%2C913434%2C936923%2C3300073%2C3300114%2C3300131%2C3300137%2C3300164%2C3310366%2C3310635%2C3310649gcr=usgir=yesid=o-ALN3b5RL_HFbn0uq6wVdN7ok381e5Klr5aXnm2-j_rVgip=209.239.112.105ipbits=0itag=140keepalive=yeskey=yt5lmt=1389150223974581ms=aumt=1398957076mv=mmws=yesrange=10215424-10455039ratebypass=yessignature=C94B087DF4A3CF0CCF06AFE4FDC7A729F5C6B606.BF87024E4845DCD025BF2AAB9E408F4824E32085source=youtubesparams=clen%2Cdur%2Cgcr%2Cgir%2Cid%2Cip%2Cipbits%2Citag%2Clmt%2Csource%2Cupn%2Cexpiresver=3upn=LnXkp11yenY
re27md0x54bl26 CARP/127.0.0.1 application/octet-stream

1398959279.449 41 88.78.165.175 TCP_MISS/200 55727 GET
http://r7---sn-a8au-nuae.googlevideo.com/videoplayback?c=webclen=10270797cpn=MCtgQsjQaEvCa6lMcver=as3dur=646.652expire=1398981332fexp=947338%2C916624%2C929313%2C902534%2C937417%2C913434%2C936923%2C902408%2C3300073%2C3300114%2C3300131%2C3300137%2C3300164%2C3310366%2C3310635%2C3310649gcr=usgir=yesid=o-AJTyH4Z0kYlbLupmzkm6UGeWxO2d2KyQNUiluKAS28Kuip=209.239.112.105ipbits=0itag=140keepalive=yeskey=yt5lmt=1389150223974581ms=aumt=1398958548mv=mmws=yesrange=10215424-10455039ratebypass=yessignature=77AB96CA03864D43DC0A917F6AA4D0EC4A0C739B.21F0DE6753599D7298439D8B2C0496574061A641source=youtubesparams=clen%2Cdur%2Cgcr%2Cgir%2Cid%2Cip%2Cipbits%2Citag%2Clmt%2Csource%2Cupn%2Cexpiresver=3upn=xv54PP7C3To
re27md0x54bl26 CARP/127.0.0.2 application/octet-stream



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/squid-caching-dynamic-content-tp4665779p4665787.html
Sent from the Squid - Users mailing list archive at Nabble.com.


Re: [squid-users] Re: squid caching dynamic content

2014-05-01 Thread Eliezer Croitoru

Have not seen this video but:
Have you ever heard about multiplexing? multi-streaming? using multiple 
streams for the same video?


Eliezer

On 05/02/2014 12:46 AM, babajaga wrote:

It is unique 

That is past. I checked my favourite video today once more in detail, as I
was wondering about  the droppig hit rate.
Might be country dependent, though.
Pls, verify:
Video from Dire straits:http://www.youtube.com/watch?v=8Pa9x9fZBtY
 From my logs:
1398957788.924 40 88.78.165.175 TCP_MISS/200 55727 GET




[squid-users] Re: squid caching dynamic content

2014-05-01 Thread babajaga
No. But what has it to do with varying id  for same video, which makes
documented STORE-ID algo obsolete ?
This varying id yt also used some time ago already, for quite a while.

(BTW: About a year ago yt also used real range requests. Changed it after a
few months to their range spec in  URL. Never mentioned in wiki, AFAIK)



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/squid-caching-dynamic-content-tp4665779p4665794.html
Sent from the Squid - Users mailing list archive at Nabble.com.