Answer the question
In order to leave comments, you need to log in
extjs caching
Hello everybody.
I started to master etxjs in the mvc part, which they made in 4-ke. I'm making a simple example according to the manual http://docs.sencha.com/ext-js/4-0/#!/guide/application_architecture
In the chrome debugger, you can see that there are a bunch of classes that I haven't thought of using yet. Loading before displaying the most primitive form - 10-20 seconds.
Connected ext-debug.js
.
Can anyone suggest how to disable unnecessary or enable some kind of caching?
Answer the question
In order to leave comments, you need to log in
>tueva hucha of classes
Do you mean that many files are loaded?
Then you can turn off the loader:
And just use ext/ext-all-debug.js
If the file size is annoying, then through JSBuilder it seems you can make custom builds of the project, where there will be only those classes that are required by your project.
Ext.Loader.setConfig({
enabled: false
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question