Configure your build
in Developing jQuery Mobile
•
11 years ago
The Jquery/JQM code takes 32K + 24K, for a total of 56K. Try to download these 2 files on a slow EDGE connection and you will see that is far from usable.
Even if you manage to download them quick, an Iphone 4S with its speedy processor takes over 2 seconds to parse the 2 files alone. I haven't done tests on Androids but I'm guessing most phones will take well over 3 seconds to parse.
We really need a tool like this: http://modernizr.com/download/ , that will lets us configure our build for better results. Maybe even integrating the Jquery code as part of it, so that only one file is needed.
Most people will wait a maximum of 3 seconds before they find a new way to get the information their looking for. If you measure the network times + the parsing times, the current JQM implementation is not achieving this even with a fast HSPA+ connection as parsing the JS code takes so long.
1