I'm working on a project to control a relay with a timer programmer and other things through the ethernet shield of arduino.
To control all those things I've made an HTML webpage stored in an SD. I have to send the orders to the arduino server by clicking on different buttons. All those buttons send an XMLHTTPrequest using an AJAX script, which is uniqe for each button. The problem of doing this that way is that at the end of the day there are a lot of scripts and the requests take too many time to response since I click on the button, and of course it's impossible to click on different buttons quickly because it creates a queue and at the end it goes stuck or it doesn't send the requests.
I've been reading on the internet about that and I've found different posts saying that AJAX needs even more bandwith than reloading the webpage, because it sends the whole webpage each time it sends a request. So I've got a huge problem to continue my project, how to send requests to arduino from an HTML webpage in an SD? is there any way to do that without problems? Has anyone done it before?