Jump to content

Topic on Project:Support desk

$wgLocalisationCacheConf performance: file or db storage?

5
Subfader (talkcontribs)

The usage of $wgLocalisationCacheConf is not clear to me.

I have $wgUseLocalMessageCache = true; and

$wgMainCacheType = CACHE_MEMCACHED;
$wgParserCacheType = CACHE_MEMCACHED; # optional
$wgMessageCacheType = CACHE_MEMCACHED; # optional

Is it better to store the messages as db file or in the database?

An enabled memcached doesn't help much I guess?

I use 'store' => 'files' because guess 'detect' takes a little bit longer?

MarkAHershberger (talkcontribs)

This is a good question for someone on the i18n team. Perhaps Amir or Siebrand can help?

Subfader (talkcontribs)

Hmh, I use my wiki only in en. Does that matter? I guess so. Atm a file "l10n_cache-en.cdb" (555 KB) is written.

Legoktm (talkcontribs)

Using cdb files will be significantly faster than the database.

Reply to "$wgLocalisationCacheConf performance: file or db storage?"