Re: [squid-users] Cache everything (except when client explicitely sends No-Cache directive)

From: Jeff Pang <pangj_at_arcor.de>
Date: Thu, 14 May 2009 22:26:46 +0800

Thibaut_ :
> Hi,
>
> I do some large batch processing and would like to explicitely cache every
> page I request. (Because I sometimes request multiple pages again and don't
> want to hammer the servers). If I want a fresh copy, my programm explicitely
> sends a No-cache header to squid.
>
> I'm using the following refresh pattern:
>
> refresh_pattern . 1440 20% 4320 override-expire override-lastmod
> ignore-no-cache ignore-private ignore-auth ignore-stale-while-revalidate
>

HI,

Besides these, you could give a try to use "cache" directive explicitly.
i.e,

acl forcecache url_regex -i some_url_path
cache allow forcecache

-- 
Jeff Pang
DingTong Technology
www.dtonenetworks.com
Received on Thu May 14 2009 - 14:27:07 MDT

This archive was generated by hypermail 2.2.0 : Thu May 14 2009 - 12:00:01 MDT