Manual:$wgUseGzip
From Linux Web Expert
<translate> Cache</translate>: $wgUseGzip | |
---|---|
Use GZip to store cached pages. |
|
<translate> Introduced in version:</translate> | pre 1.1.0 |
<translate> Removed in version:</translate> | <translate> still in use</translate> |
<translate> Allowed values:</translate> | (boolean) |
<translate> Default value:</translate> | false From 1.2.0 to 1.3.0 inclusive, it was calculated automatically. |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Details
When using the file cache, we can store the cached HTML gzipped to save disk space. Pages will then also be served compressed to clients that support it. In older versions of MediaWiki it also controlled if normal (non file-cached) pages were gzipped.
Requires zlib support to be enabled in PHP.
Notes
You can test your website compression here: