Rene Pijlman wrote:
I'd say that when PHP provides the mechanism for output compression over the wire, there's no reason to duplicate this mechanism in the file cache. You might as well completely remove compression from the file cache and cache uncompressed on disk. At the cost of some extra disk space this will improve performance of the file cache (no CPU cycles for (un)compression) and simplify the code. This will neatly separate caching from compression.
The point of compressing the file cache is of course to save disk space. Since this is a legitimate thing to do, I don't think there's a need to remove that option.
-- brion vibber (brion @ pobox.com)