https://bugzilla.wikimedia.org/show_bug.cgi?id=51853
Web browser: ---
Bug ID: 51853
Summary: Complete ResourceLoader dependency tree before serving
HTML page
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: ResourceLoader
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
Right now, ResourceLoader does not walk the dependencies on the server. As
noted in ResourceLoaderModule:
"When adding a module on the server side, dependency information is NOT taken
into account and YOU are responsible for adding dependent modules as well. If
you don't do this, the client side loader will send a second request back to
the server to fetch the missing modules, which kind of defeats the purpose of
the resource loader."
It seems that if this is actually a performance issue, we should walk (expand)
the dependency tree on the server. Otherwise, it's essentially pushing work
onto the clients of ResourceLoader.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l