From c13e67c0a0ab99ed0952824b69850c3efed2a9dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Klinkovsk=C3=BD?= Date: Thu, 14 Jul 2016 13:24:19 +0200 Subject: LocalSettings: move cache settings --- LocalSettings.archlinux.org.php | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/LocalSettings.archlinux.org.php b/LocalSettings.archlinux.org.php index de52ad26..5cafa9cd 100644 --- a/LocalSettings.archlinux.org.php +++ b/LocalSettings.archlinux.org.php @@ -102,13 +102,30 @@ $wgEmailAuthentication = true; $wgUserEmailUseReplyTo = true; -## Uncomment this to disable output compression -# $wgDisableOutputCompression = true; +## +## Cache settings +## ## Shared memory settings $wgMainCacheType = CACHE_ACCEL; $wgMemCachedServers = array(); +## Set $wgCacheDirectory to a writable directory on the web server +## to make your wiki go slightly faster. The directory should not +## be publically accessible from the web. +$wgCacheDirectory = "$IP/../cache/data"; +$wgShowIPinHeader = false; +$wgDisableCounters = true; +$wgEnableSidebarCache = true; +$wgUseFileCache = true; +$wgFileCacheDirectory = "$IP/../cache/html"; +$wgUseGzip = true; +$wgUseETag = true; + +## Uncomment this to disable output compression +# $wgDisableOutputCompression = true; + + ## To enable image uploads, make sure the 'images' directory ## is writable, then set this to true: $wgEnableUploads = true; @@ -129,18 +146,6 @@ $wgShellLocale = "en_US.utf8"; ## this, if it's not already uncommented: #$wgHashedUploadDirectory = false; -## Set $wgCacheDirectory to a writable directory on the web server -## to make your wiki go slightly faster. The directory should not -## be publically accessible from the web. -$wgCacheDirectory = "$IP/../cache/data"; -$wgShowIPinHeader = false; -$wgDisableCounters = true; -$wgEnableSidebarCache = true; -$wgUseFileCache = true; -$wgFileCacheDirectory = "$IP/../cache/html"; -$wgUseGzip = true; -$wgUseETag = true; - ## Default skin: you can change the default skin. Use the internal symbolic ## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook', 'vector': //require_once "$IP/skins/ArchLinux/ArchLinux.php"; -- cgit v1.2.2