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@henriknordstrom.net>
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
>
Received on Thu Sep 27 2007 - 04:13:58 MDT
This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:03 MDT