PHP Caching, Storing cache in multiple directories
<p>We have a number of client sites still at GoDaddy, and they're complicated sites, so it will take some time for us to get around to migrating them. Ultimately, they'll end up in a dedicated environment, but for now, we're stuck with GoDaddy's shared hosting scenario.</p>

<p>I want to setup output buffer PHP caching in static files, and have it clear maybe every 3-4 hours. What I've seen online for accomplishing this seems to throw all the cache files into a single big directory.</p>

<p>GoDaddy has a policy (something we're battling now on another issue) where they don't allow more than 1,024 files in a single directory, because it degrades performance for the shared environment. I don't dispute that fact, but I'm hoping there may be a clever solution for PHP caching where we have a nested caching structure of sorts.</p>

<p>Any ideas?</p>
