Translations:Manual:$wgReadOnly/8/en

Some caches that use the database may still be written to during read only mode. This can be avoided by disabling cache, albeit at the cost of making your wiki slow. This can be accomplished with the following settings in LocalSettings.php: