The document introduces CWebSim, a simulation framework designed for performance evaluation and capacity planning of cluster-based web services. It offers a modular architecture that allows for the simulation of various web cluster configurations, workload types, and dispatching algorithms, facilitating the testing of cache cooperation and web switch algorithms. Two case studies demonstrate CWebSim's applicability in simulating clustered HTTP servers and analyzing their performance under different configurations.