Search squid archive

Re: Caching Youtube.

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

 



On Sun, Sep 16, 2007, Solomon Asare wrote:
> Hi All,
> I use Squid Cache: Version 2.6.STABLE5. I realise from
> the archives that some work has already been done on
> this. Following the previous work/wiki/archives, I am
> able to chache some youtube clips but not most. The
> limitting factor is not size (Mb), I have that
> adequately covered.
> 
> >From the store.log I realise that responses without
> valid Dates (-1), last-Modified-Date and Expiry-dates
> being in the past are not cached. Meanwhile, I have
> ignore-no-cache, overide-expire in my refresh pattern:
> refresh_pattern -i \.flv$        10080   90%    
> 999999 ignore-no-cache override-expire ignore-private
>  
> Find below 2 lines from the store.log:
> 1189970186.851 RELEASE -1 FFFFFFFF
> 7E4298A248D7B24F1CADFD910ADFA7EB  200        -1       
> -1 1189970173 video/flv 854722/854722 GET
> http://74.125.0.37/get_video?video_id=5chdYDbYQAA&origin=lax-v220.lax.youtube.com

This is a request from google space. Not sure what this is, i havne't seen ti yet.
Its an 800k reply though..


> 1189970472.532 SWAPOUT 00 0000077F
> 99B2E186E59B0BE033FDBBF95E1F2D6C  200 1189970437
> 1188577407        -1 video/flv 874083/874083 GET
> http://lax-v149.lax.youtube.com/get_video?video_id=ligSwv-MI3U

And this is the normal media file which I've documented how to cache.

> Are there any configuration parameters that I can use
> in overcoming this obstacle? Are there any other
> options that I can pursue in caching the youtube
> responses? Please help.

You're caching some of the youtube responses. Have you actually analysed your
squid logs to determine exactly what you should be caching but aren't?
Looking at one pair of entries doesn't immediately tell me that its worth
caching both..




Adrian


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

  Powered by Linux