MediaWiki maintains all sorts of different caches, depending upon
what's available. For the most part, it works fine in that the cache
is invalidated when the pages are changed, and at a sensible rate.
The main page, however, in particular, can often become stubbornly out
of date. A good action=purge will clear this.
Rob Church
On 09/12/05, Bill Moseley <moseley(a)hank.org> wrote:
On Fri, Dec 09, 2005 at 06:43:53PM +0000, Rowan
Collins wrote:
On 09/12/05, Bill Moseley
<moseley(a)hank.org> wrote:
I added "?action=purge", and it seems to have purged to the correct
version. Why it got stuck on that version in the first place, I've no
idea, but it seems it *was* a caching issue (server side, not browser
cache).
(Hope I have fewer typos this time...)
Server side as in Mediawiki? I assume it would have to be.
Is that a problem with the version I'm running? Or just some cache
settings that need to be modified?
I changed this to false:
$wgEnableParserCache = false;
Seems to have fixed it.
It's a low volume wiki, so anything else need changing?
fgrep Cache includes/DefaultSettings.php
/** Cache shared metadata in memcached. Don't do this if the commons wiki is in a
different memcached domain */
$wgCacheSharedUploads = true;
$wgMainCacheType = CACHE_NONE;
$wgMessageCacheType = CACHE_ANYTHING;
$wgParserCacheType = CACHE_ANYTHING;
$wgLinkCacheMemcached = false; # Not fully tested
$wgMemCachedDebug = false; # Will be set to false in Setup.php, if the server isn't
working
$wgMemCachedServers = array( '127.0.0.1:11000' );
$wgMemCachedDebug = false;
$wgMsgCacheExpiry = 86400;
$wgEnableParserCache = false;
$wgCachePages = true;
$wgCacheEpoch = '20030516000000';
$wgUseFileCache = false;
$wgFileCacheDirectory = "{$wgUploadDirectory}/cache";
* Cache timeout for the squid, will be sent as s-maxage (without ESI) or
$wgUseWatchlistCache = false;
$wgWLCacheTimeout = 3600;
$wgFeedCacheTimeout = 60;
Any ideas about my timezone in the other message? ;)
--
Bill Moseley
moseley(a)hank.org
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l