Because the too much timeout errors in my requests I'd like to get the ajax answer's size in kilobytes. How can i do this? Thanks for the help.
The request is this:
$.ajax({
url: domain+'index.php?fx_action=ajax&fx_mode=aaa&fx_id='+id,
type: 'POST',
dataType: 'json',
timeout: 5000,
beforeSend: function () {
var currentTime = new Date()
window.time2b = currentTime.getTime();
},
error: function (xhr, ajaxOptions, thrownError) {
showErrorContainer();
appendError("function fname(params) : "+thrownError+", "+xhr.responseText);
return false;
},
success: function (data) {