It looks like the ResourceLoader always acts as if CACHE_ANYTHING is set for reading, which seems to be intentional, and for writing, which perhaps is not. From includes/resourceloader/ResourceLoader.php (similar code is also in includes/resourceloader/ResourceLoaderLanguageDataModule.php):
// Try for cache hit // Use CACHE_ANYTHING since filtering is very slow compared to DB queries $key = wfMemcKey( 'resourceloader', 'filter', $filter, self::$filterCacheVersion, md5( $data ) ); $cache = wfGetCache( CACHE_ANYTHING ); $cacheEntry = $cache->get( $key ); [...] // Save filtered text to Memcached $cache->set( $key, $result ); On Mon, Jun 24, 2013 at 9:24 AM, John Abraham <john.abraham...@gmail.com>wrote: > Hi, > > We are using $wgVersion = '1.20.2'; > > But we find that the objectcache continues to grow even though we have used > the setting suggested in the FAQ to completely disable caching and also > restarted the server. > > > grep -i cache LocalSettings.php > > $wgEnableParserCache = false; > > $wgMainCacheType = CACHE_NONE; > > $wgMemCachedServers = array(); > > $wgMessageCacheType = CACHE_NONE; > > $wgParserCacheType = CACHE_NONE; > > $wgCachePages = false; > > # sure that cached pages are cleared. > > $wgCacheEpoch = max( $wgCacheEpoch, $configdate ); > > > Comparing the tables between 06-23 and 06-24 > > > mysql> select count(*) from wiki24.objectcache; > > +----------+ > > | count(*) | > > +----------+ > > | 91184 | > > +----------+ > > 1 row in set (3.55 sec) > > > mysql> select count(*) from wiki23.objectcache; > > +----------+ > > | count(*) | > > +----------+ > > | 90866 | > > +----------+ > > 1 row in set (1.46 sec) > > > What do you suggest? > > -john > _______________________________________________ > MediaWiki-l mailing list > MediaWiki-l@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l