Translations:Manual:$wgFileCacheDepth/9/en

However, if your wiki is small, or if you know your file system can handle huge directories efficiently, you might want to set  to get rid of the intermediate directories entirely.