Manuel:$wgUseGzip
Jump to navigation
Jump to search
Cache: $wgUseGzip | |
---|---|
Utiliser GZip pour mettre les pages en cache. |
|
Introduit dans la version : | pre 1.1.0 |
Retiré dans la version : | Encore utilisé |
Valeurs autorisées : | (booléen) |
Valeur par défaut : | false From 1.2.0 to 1.3.0 inclusive, it was calculated automatically. |
Autres paramètres : Alphabétique | Par Fonction |
Détails
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.
Between 1.2.0 and 1.3.0 (inclusive) the default value was true if the function 'gzencode' is defined, otherwise false. For prior and later versions it defaults to false.
Notes
Vous pouvez tester la compression de votre site web ici :