How to prevent MediaWiki caching pages: Difference between revisions

From Cookipedia

 
No edit summary
Line 31: Line 31:
#$wgCachePages = false;
#$wgCachePages = false;
</pre>
</pre>
 
==== Truncate database table l10n_cache ====
====Use Extension:MagicNoCache====
From the [http://www.mediawiki.org/wiki/Manual:L10n_cache_table Mediawiki page covering this table].
* disabled 17/3/2012 - fails with my keywords module
Its content can be deleted and excluded from backups as it will be regenerated when needed.<ref>The l10n_cache table. Its content can be deleted and excluded from backups as it will be regenerated when needed.</ref>
 
* Install Extension:MagicNoCache & include the NOCACHE magic word. !Requires two underscores either side! Cannot show an example on this page as it is parsed regardless of nowiki (and other similar tags).
 
==See also==
==See also==
====Clear cache on edit/save of LocalSettings.php====
====Clear cache on edit/save of LocalSettings.php====
Line 72: Line 69:
[[Category:Useful information]]
[[Category:Useful information]]
[[Category:Help]]
[[Category:Help]]