hooks for updating cache

From: Hiroyuki Inoue <h-inoue@dont-contact.us>
Date: Fri, 13 Mar 1998 13:21:02 +0900

Hi,

I'm modifying squid to notify the cache updating information
to other machines.
Now I have a question where I should insert the notification function
in squid-1.1.20 source file...

In store.c, I've installed the hooks in following functions:
  storeSwapOutHandle() -> notify that object has been cached in disk
  storeRelease() -> notify that object has been removed in disk/memory
But, the number of notifications from storeRelease() was much less
than storeSwapOutHandle(), and I couldn't observe the cache removal
in squid.

Does anyone know how to know object removal from the cache disk ?

---
			NARA Institute of Science and Technology
			       Department of Information Science
				      h-inoue@is.aist-nara.ac.jp
Received on Thu Mar 12 1998 - 20:29:52 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:21 MST