[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Web cache simulation (fwd)



> 	For example, the http.log produced by simple-webcache.tcl
> only includes 1 cache MISS. Then how does the MISS be generated
> and where is the replace-policy implemented? And where is the
> size of the cache defined?  It seems quite many souce files 
> related,  whether you can give me some pointers where to 
> start at? 

Replacement policy is NOT implemented in the current release. However, it
is easy to add it with a hook in ClientPagePool to check cache size each
time a page is added. It will go to the snapshot and the next release
after I clean up the code. 

- Haobo