which php cache engine should i use ??

I have a very huge dynamic and heavy traffic website with more then 700,000,000 pages all of them generated dynamically.

I'm looking to optimize the website using cache engine and want to cache the whole 700,000,000 pages. i found in the forum that mmcache is the best cache engine for php, but the problem is that, it store all the cached pages in a single directory. storing 700,000,000 files in a single directory will create lot of problems for the server.

is there any caching engine out there that can store the cached pages in multiple sub directories based on directory names? ie /tmp/cahce/1/2/3/123234324.something instead of /tmp/cache/123234324.something

 

 

 

 

Top