asp.net - windows.postMessage behaviour? -
i need cross domain call sending data server , same data validate it, used window.postmessage iframe.
its working fine.
i sending 1 mb string in message , from, sending 1 mb string , receiving 1 mb string, task completes in appx 4 secs. think not happens.
but when used jsonp download same contents same server using ajax jsonp, takes 9 seconds.
so download takes 9 secs , postmessage (send & response) both takes 4 secs. how possible ? think should more 9 seconds.
please let me know why happens.
thanks, laxmilal menaria
i need cross domain call sending data server , same data validate it, used window.postmessage iframe. its working fine. i sending 1 mb string in message , from, sending 1 mb string , receiving 1 mb string, task completes in appx 4 secs. think not happens. but when used jsonp download same contents same server using ajax jsonp, takes 9 seconds. so download takes 9 secs , postmessage (send & response) both takes 4 secs. how possible ? think should more 9 seconds. please let me know why happens. thanks, laxmilal menaria | |||
|