Currently one of the things blocking porting ResourceLoader into the MobileFrontend extension is that javascript modules can be registered by any extension, many of which are not suitable for mobile or not applicable to certain pages.
The problem on mobile is it is essential payload is as small as possible due to the slower bandwidth and the fact that certain devices will refuse to serve the page if the payload is too huge.
I suggest that javascript modules should be able to register if they are suitable for mobile.
When initialising resource loader it should be possible for MobileFrontend to say "give me only the mobile optimised stuff". Any modules which have said they are mobile enabled should then be served. Anything which has not said anything should not be loaded.
Version: unspecified
Severity: enhancement