I upgraded from 1.15 to 1.29 and this new load.php is very slow. It seems like there are 5 request. First 3 are 1.5-2 seconds long, but at least requested simultaneously. The 4th is 2 seconds and the last one is another 1.6 seconds. All in all, almost 8 seconds to load a single page, every time. It seems these resources aren't been cached even tho $wgUseFileCache = true. Has anyone else encountered this - what can I do to improve this?
Topic on Project:Support desk
load.php aren't affected by the file cache. The file cache only cache normal pages, and just for anons.
load.php is cached by the main cache. If you have memcached or redis, use it as the main cache type. Otherwise, leave $wgMainCacheType = CACHE_ANYTHING; so it uses database for caching
Thanks! I'll change $wgMainCacheType = CACHE_ANYTHING as suggested.
I can already feel the difference, Thanks again :)