[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squid-dev
Subject:    Re: [squid-users] How to get the size of incoming document in cache
From:       Henrik Nordstrom <hno () squid-cache ! org>
Date:       2005-02-19 15:27:15
Message-ID: Pine.LNX.4.61.0502191623390.28321 () localhost ! localdomain
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic