On Wed, Dec 10, 2008 at 4:30 PM, Peter Adams peter@oncefuture.com wrote:
Really? Happy to write patch if thats the case as I'd rather not take the performance hit to have a db hit per message. Does wikipedia do this that way?
$wgUseDatabaseMessages is true by default, so if you didn't explicitly disable it, it should already be in effect. If performance is a concern, you're strongly advised to use memcached or some other cache (APC, XCache, etc. if you only have one app server). For this and other reasons. That will, of course, avoid the DB requests.