On 14/07/17 04:13, bugreporter wrote:
Hi Amos, When you say: /"The rest is harder. You need to do a scan of a disk cache separating the message headers - both counting the number of items found and total size of the headers processed. Multiplying the metadata size by the number of objects in the cache and adding the total message header size." / What do you mean by message header in this context? Just the first line in each file or all HTTP headers (head of each file until the first \r\n)? If you mean all HTTP headers and if I correctly understood what Alex says, HTTP headers are not taken into the consideration in this context. Therefore should I eliminate them in the calculation?
Thats what I meant, but as Alex pointed out I was wrong. StoreEntry only pulls a small bit of the cached meta stuff into the index, and that is counted directly in the StoreEntry object size. The rest of it is only pulled in when things are moved to the cache_mem space for delivery to a client.
Amos _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users