Search squid archive

Re: Caching Expired Objects - One Small Step Forward

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

 



Hi All,
a small success:
I have set a an apache2.2 server as a proxy without
caching as a parent proxy to my squid. I pass my
youtube video clips through this parent. The apache is
on the same machine as the squid. Using the mod_header
module in apache, I cleaned out all the worrisome
headers in the the youtube clips and now squid caches
them and produces hits.

The only outstanding issue is youtube serves videos
from random servers. I will therefore have to
implement a redirection script so that if a video clip
has already been cached, I will pick that one. I hope
to work on that over the weekend. 

I sometimes get about 10% traffic to youtube so if I
can get a descent HIT rate it will be significant to
the  overall performance of my squid. Thanks for the
hand-holding, Henrik.

Regards,
solomon.


--- Henrik Nordstrom <henrik@xxxxxxxxxxxxxxxxxxx>
wrote:

> On ons, 2007-09-19 at 01:45 -0700, Solomon Asare
> wrote:
> > Hi Henrik,
> > I have tried quite a lot, eg:
> > refresh_pattern -i \.flv$       10080   990%    
> > 999999 reload-into-ims ignore-no-cache
> > 
> > It caches only those objects which have not
> already
> > expired that is with the right combinations of
> > Last-Modified or ETag & minimum_expiry_time; as
> you
> > explained earlier.
> > 
> > Any suggestion on a refresh_pattern to overcome
> > (Last-Modified or ETag & minimum_expiry_time)
> > limitation?
> 
> Have you tried override-expire?
> 
> What do use depends on what the response headers
> look like.
> 
> Regards
> Henrik
> 


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

  Powered by Linux