I saw in some ExtJs examples that they are only include ext.js in the page and ExtJs resolve all dependencies via XHR request after loading app.js, Lazy load. But I checked the debugger network and I found that ExtJs made ~250 XHR requests to resolve dependencies.
Making ~250 requests for loading an application doesn’t seems a good solution. I want to know should I use ext.js (Lazy loading) or ext-all.js (No more requests) for production version?
There can be some special cases where this makes sense but that should only be done for rarely used classes and not the whole ExtJS lib.
So the answer is that you should either use
ext-all.jsor let the Sencha CMD Tool build you aapp.jswhich contains only required classes.