I understand that this is asynchronous , but what can be the reason/cause that time between request and response is approximately 4 sec and more?
I work/code on local Apach-Tomcat server.
Is there any settings ( in Ext.data.Store) I missed ? ( or on server side)
"Form" sends request with "header.accept" filled with types,
ajax-based Ext.data.Store ( when I call load() ) sends "header.accept =*.* "
This is only difference I noticed.
Can anybody get back to me with advice pls?
You need to diagnose where the time is spent. There are plenty of tools available to help with this. Firebug and the Chrome Developer Tools both have excellent features for studying network requests and give a breakdown of exactly how long each stage of a request takes. Using a tool like Fiddler you can get slightly less detailed information for just about any browser.
The first big step is to establish whether the time gap occurs in the server or the client. Either way, the next step is to do some profiling to figure out what specifically causes the delay.