sending large data .getJSON or proxy ?
Posted
by numerical25
on Stack Overflow
See other posts from Stack Overflow
or by numerical25
Published on 2009-11-04T15:57:09Z
Indexed on
2010/06/14
22:02 UTC
Read the original article
Hit count: 197
Hey guys. I was told that the only trick to sending data to a external server (i.e x-domain) is to use getJSON. Well my problem is that the data I am sending exceeds the getJSON data limit. I am tracking mouse movements on a screen for analytics.
Another option is I could also send a little data at a time. probably every time the mouse moves. but that seems as if it would slow things down.
I could setup a proxy server.
My question is which would be better? Setting up a proxy server ? or Just sending bits of information via javascript or JQUERY. What do the professionals use (Google and other company's that build mash-ups that send a lot of data to x-domain sites.)
I need to know the best practices. Thanx!!
Also the data is put into JSON.
© Stack Overflow or respective owner