ajax response is very slow
I'm using js to make the ajax call(post).A php is called and i'm getting the response in HTML format.I'm doing this in onclick function of a radio button. The response time is huge. Kindly guide me on how this can be improved? will getting the response in json/xml format increase speed / security?

ajax response is very slow
===

I'm using js to make the ajax call(post).A php is called and i'm getting the response in HTML format.I'm doing this in onclick function of a radio button. The response time is huge. Kindly guide me on how this can be improved? will getting the response in json/xml format increase speed / security?
