This question belongs on squid-dev rather than squid-users..

On Thu, 17 Feb 2005, Yuan Chen wrote:

I'm working on implementing a variation of squid's cache replacement
policy. My replacement algorithm needs to know the size of an incoming
document.

See the heap policies for examples.

  store_entry->swap_file_sz

How can I get the size of an incoming document when the purge
walker is called?

Eh? The purke walker does not know of incoming documents, it only knows about "old" objects to purge from the cache according to your policy..


Regards
Henrik

Reply via email to