Brian Beuning wrote:
>
> I am looking for the code in squid that decides which files to
> remove when the disk cache is full. Can someone point me
> to this code? It does not seem to be working how I would
> like it to.
The store replacement is done in store.c:storeMaintainSwapSpace()
(ignore the comment at the top, it is vay old. Read the code.). The code
does a form of "Modified LRU with a small bias to expired objects".
In what way does it not work like you'd like it to?
-- Henrik Nordstrom Spare time Squid hackerReceived on Sat May 01 1999 - 08:02:08 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:12 MST