From 77e4893a1147299ab8512ea7d22ddfc3d847f9eb Mon Sep 17 00:00:00 2001 From: RhinosF1 Date: Sat, 4 Nov 2023 15:41:55 +0000 Subject: [PATCH] GlobalCache: implement Parsoid Parser Caching (#5245) --- GlobalCache.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/GlobalCache.php b/GlobalCache.php index d6e77ce13b..73da6fe3bb 100644 --- a/GlobalCache.php +++ b/GlobalCache.php @@ -77,6 +77,12 @@ $wgMessageCacheType = 'memcached-mem-2'; $wgParserCacheType = 'mysql-multiwrite'; +$wgParsoidCacheConfig = [ + 'StashType' => 'db-replicated', + 'StashDuration' => 86400 * 10, + 'CacheThresholdTime' => 0.0, + 'WarmParsoidParserCache' => true, +]; $wgLanguageConverterCacheType = CACHE_ACCEL;