Manual:$wgUseGzip/pl

Category:MediaWiki configuration settings/pl#UseGzipCategory:MediaWiki configuration settings introduced before version 1.1.0/pl#UseGzipCategory:MediaWiki configuration settings still in use/pl#UseGzipCategory:Cache variables/pl#UseGzip
Cache: $wgUseGzip
Use GZip to store cached pages.
Wprowadzono w wersji:Before 1.1.0
Usunięto w wersji:nadal w użyciu
Dozwolone wartości:(boolean)
Domyślna wartość:false
From 1.2.0 to 1.3.0 inclusive, it was calculated automatically.

Szczegóły

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.

Uwaga Uwaga: THIS IS NOT COMPATIBLE with ob_gzhandler which some users may have enabled in LocalSettings.php. (See Podręcznik:$wgDisableOutputCompression .) If you enable this, remove that setting first. It is also incompatible with automated gzipping done on the server side (e.g. mod_deflate) and zlib.output_compression

Requires zlib support to be enabled in PHP.

Uwagi

You can test your website compression here:

Zobacz też

Category:Cache variables/pl Category:MediaWiki configuration settings/pl Category:MediaWiki configuration settings introduced before version 1.1.0/pl Category:MediaWiki configuration settings still in use/pl