Manual:$wgCompressRevisions

Details
We can also compress text in the old revisions table. If this is set on, old revisions will be compressed on page save if zlib support is available. Any compressed revisions will be decompressed on load regardless of this setting but will not be readable at all if zlib support is not available.