Hi All, sorry, the refresh_pattern looked like: refresh_pattern -i get\_video\?video\_id\=.*youtube\.com 10080 990% 99999999 reload-into-ims ignore-no-cache override-expire ignore-private ignore-no-store Regards, solomon. --- Solomon Asare <solomonasare@xxxxxxxxx> wrote: > Hi All, > I have had some success in caching expired objects > with squid3 as shown below: > 1190548054.719 SWAPOUT 00 00000018 > 55122D5A03E0C43DBA15AFDF9225215B 200 -1 > > -1 1190548026 video/flv 1626399/1626399 GET > http://74.125.0.25/get_video?video_id=tfYK0yBXS-o&origin=lax-v211.lax.youtube.com > > However I am unable to get a HIT with the same > refresh_pattern that cached the object in the first > place. Squid3client reports the object has expired: > HTTP/1.0 403 Forbidden > Server: squid/3.0.PRE5 > Mime-Version: 1.0 > Date: Sun, 23 Sep 2007 12:30:39 GMT > Content-Type: text/html > Content-Length: 1530 > Expires: Sun, 23 Sep 2007 12:30:39 GMT > X-Squid-Error: ERR_FORWARDING_DENIED 0 > X-Cache: MISS from testSquid > Via: 1.0 testSquid (squid/3.0.PRE5) > Proxy-Connection: close > > Any suggestions? > > 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 > > > >