http://www.webpagetest.org/result/150911_0Z_12P7/4/details/
Making sure that all RL requests go through the m subdomain is an easy (if small) performance win.
http://www.webpagetest.org/result/150911_0Z_12P7/4/details/
Making sure that all RL requests go through the m subdomain is an easy (if small) performance win.
Is this a ResourceLoader issue or a Wikimedia configuration issue (Wikimedia-Site-requests)?
I suspect it will take as much effort to answer that question as it will to fix the underlying issue.
Several things:
The first one (addSource) is the cause of the load.php requests.
mediawiki/wmf-config:
$wgLoadScript = "{$wgCanonicalServer}/w/load.php"; ... $wgHooks['EnterMobileMode'][] = function() { .. $wgLoadScript = $mobileContext->getMobileUrl( $wgLoadScript );
I guess this only works on page views, which is why load.php urls in the html are constructed with the mobile domain. But anything loaded with it (mediawiki.js, jquery, and all page/user modules) go through the canonical domain as the startup module request seems unaware of the mobile context.
Change 238511 had a related patch set uploaded (by Krinkle):
Remove hardcoded $wgCanonicalServer from $wgResourceBasePath
Change 238511 merged by jenkins-bot:
Remove hardcoded $wgCanonicalServer from $wgResourceBasePath
Change 238537 had a related patch set uploaded (by Krinkle):
resourceloader: Don't call wfExpandUrl() on load.php urls
Change 238543 had a related patch set uploaded (by Krinkle):
Remove hardcoded $wgCanonicalServer from $wgResourceBasePath
Change 238544 had a related patch set uploaded (by Krinkle):
resourceloader: Don't call wfExpandUrl() on load.php urls
Change 238545 had a related patch set uploaded (by Krinkle):
resourceloader: Don't call wfExpandUrl() on load.php urls
Change 238543 merged by jenkins-bot:
Remove hardcoded $wgCanonicalServer from $wgResourceBasePath
Change 238537 merged by jenkins-bot:
resourceloader: Don't call wfExpandUrl() on load.php urls
Change 238545 merged by jenkins-bot:
resourceloader: Don't call wfExpandUrl() on load.php urls
Change 238544 merged by jenkins-bot:
resourceloader: Don't call wfExpandUrl() on load.php urls