On Fri, 2003-05-16 at 09:01, Brion Vibber wrote:
- The cache directory is divided up like the upload directory is; so
there should be 4096 separate dirs. Should be plenty for keeping ext3 from going mad and killing us all for a while yet.
Er, my math sucks after no sleep, apparently. That's *256* dirs, not 4096. Each presently has ~90-150 files (1.2-2 megabytes) stored in it. Total file cache stacks up to 30,468 pages (about 450 megs) right now.
A very silly thought I had: we could also gzip the cache files, and send the pre-gzipped versions to browsers that support it to decrease bandwidth usage. Maybe I'm going overboard here though. :)
-- brion vibber (brion @ pobox.com)