thanks In my case I have #Suggested default: refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern . 0 20% 4320 the last lime means all types of objects will be cached for 1.2 day? thx --- On Wed, 18/11/09, Jefferson Diego <jeffersondiego8@xxxxxxxxxxx> wrote: > From: Jefferson Diego <jeffersondiego8@xxxxxxxxxxx> > Subject: Re: questions on squid cache > To: squid-users@xxxxxxxxxxxxxxx > Date: Wednesday, 18 November, 2009, 16:56 > Em 18-11-2009 12:16, Melanie Pfefer > escreveu: > > hi > > > > I have in squid.conf > > > > cache_dir ufs /var/squid/var/cache 100 16 256 > > > > > > I would like to know: > > 1. if the squid cache is stored on disk or RAM > > 2. if I can reach a point where "cache is full" > > 3. How can I "remove cache" older than 1 week (same > logic as log rotation) > > > > thanks in advance > > > > > > > > > > > > > > > > > 1. Both. This line is about the cache stored on disk, but > the squid also > has a cache on memory, that you can set in a line like > "cache_mem 128 MB" > 2. I did not understand... what? > 3. Your old cache is removed by the refresh pattern. > Look this: > refresh_pattern -i \.jpg$ 10080 90% 10080 > It means that every file ending with "jpg" will stay on the > cache 1 week > (10080 minutes). > > > (Sorry by me english... I'm brazilian...) >