Implementing different cache configurations in the nodes

Hi all. I want to set up a hybrid P2P network and analyze the performance of the set up with respect to various configurations like the network traffic, bandwidth used, node contribution to the network, cache performance, etc. I would like to know if ipfs would allow me to set up different cache configurations of the cache. Like each run I must be allowed to change the cache replacement or the cache placement strategies. I am new to this forum and I need as much help as possible. None of the simulators have met my requirements so far. Kindly help. Thanking you.