Skip to main content

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

asp.net - windows.postmessage behaviour? - stack overflow

learn, share, build

each month, on 50 million developers come stack overflow learn, share knowledge, , build careers.

join world’s largest developer community.

sign up

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

share|improve question

your answer

 
discard

posting answer, agree privacy policy , terms of service.

browse other questions tagged or ask own question.


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -