title: JQuery AJAX POST call take long time
body: <p>I make a request POST with a huge data, but the SEND of  request take very long time. I said only send cause I've got this code :</p>
  
  <pre><code> console.time('post load');
  var req= new Array;
                  req = { 
                       'data' :   $('input[name="data"]', $('#id_contain')) .serialize()
                  };
  
  var request = $.ajax({
                                      url : '/url',
                                      type : "POST",
                                       data : req,
                                      cache : false,
                  timeout: 10000,
                                      dataType : 'json',
                                      async:   false,
                                      success : function(response){
                                 alert('yes');
                  }, 
                                      error : function(jqXHR, textStatus,
                                              errorThrown) {
                                      //  if (debug_js) {
                                              console.log(jqXHR);
                                  //      }
                                      }
                                  });
                 console.timeEnd('post load');
    console.log('data');
  </code></pre>
  
  <p>so according to this code, my request (post load) take like 25 seconds and I'v got timeout onajax request of 10sec.So I think it's only the jquery making request take time?
  But if I change data the huge data with a simple string it takes like 0.01sec... So it's really due to my huge data?</p>