On ons, 2008-08-20 at 16:24 +0000, John =) wrote:
> Hi, this probably seems like a trivial question, but I have not been able to find any help in the mail archive.
>
> How is the hash value used to index the object in the cache generated please? My intentions are to be able to manually introduce new items to the cache and update the logs accordingly.
The hash is only used internally.
method + URL -> md5 hash -> internal store object -> on-disk file number
The actual hash function can be seen in storeKeyPublic() in src/store_key_md5.cc
Regards
Henrik
This archive was generated by hypermail 2.2.0 : Thu Aug 21 2008 - 12:00:03 MDT