Skip to content

Commit

Permalink
GlobalCache: implement Parsoid Parser Caching (#5245)
Browse files Browse the repository at this point in the history
  • Loading branch information
RhinosF1 authored Nov 4, 2023
1 parent 10ca4ff commit 77e4893
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions GlobalCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 77e4893

Please sign in to comment.