I found that I didn't use $wgMessageCacheType, added it, then rerun profile. It was a bit slower ( with msg cache http://www.webpagetest.org/result/140819_SE_11GM/ , without http://www.webpagetest.org/result/140819_AJ_10H0/ ) hmm. I guess the diskspeed is slow. Before I cut down resourceloader.php, the site took like 15 seconds to load.
By the way, I think jQuery took like a chunk of time. I was trying to make my site load it from jquery.com, so that visitors can download my site and jquery simultaneously. (I heard that browsers usually only download a single object from the same url at any moment)
That didn't go well enough. When I put jquery.com url into resource loader, website load a bit faster. But it didn't load simultaneously. Putting it into index.php, sometimes make the whole cite go crazy wait of 50 seconds, as the whole wiki wait for jquery (or 3 seconds if it loads before everything else). Putting it into localsetting by jquery discussion http://www.mediawiki.org/wiki/Talk:JQuery#How_to_disable_load_.2Fresources.2Fjquery.2Fjquery.js_in_mediawiki1.17.3F_6077 make the site go crazy even more frequently.
$wgMainCacheType = CACHE_ACCEL; $wgMessageCacheType=CACHE_ACCEL; $wgCacheDirectory = "$IP/cache"; $wgParserCacheExpireTime = 2592000; $wgParserCacheType = CACHE_DB; $wgResourceLoaderMaxage = 2592000; $wgSessionsInObjectCache = true; # optional $wgSessionCacheType = CACHE_DB; # optional $wgEnableSidebarCache = true;
$wgUseGzip = true; $wgDisableCounters = true; $wgMiserMode = true; $wgJobRunRate = 0.5;
-- View this message in context: http://wikimedia.7.x6.nabble.com/Re-Resourceloader-on-Webhost-10x-Slower-tp5... Sent from the WikiMedia General mailing list archive at Nabble.com.