summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Klinkovský <j.l.k@gmx.com>2016-07-14 13:24:19 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-07-20 09:14:11 +0200
commitc13e67c0a0ab99ed0952824b69850c3efed2a9dc (patch)
tree8e63b897c4a0e5eb4cf2ae26a25db9269024e72b
parentd69ef76ef7d1775f2b208e2930288feec0220401 (diff)
LocalSettings: move cache settings
-rw-r--r--LocalSettings.archlinux.org.php33
1 files 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";