The reason may be the combination of the http server and the browser you are using. This does not seem to be a PrototypeJS library error.
Several sources claim that the keep-alive parameter of the HTTP connection appears to be broken in Safari (see here , here or here ). At Apache, they recommend adding this to the configuration:
BrowserMatch "Safari" nokeepalive
(Please check the appropriate syntax in the server documentation).
If Safari does not handle HTTP persistent connections to your server well, this may explain what you are experiencing.
If this is not too difficult for you, I would try a different HTTP server, there are many available in each OS.
We do not have enough information to fully answer your answer. The problem with the server is leadership, but there may be others. It would be nice to know if it does the same in other browsers (Firefox with Firebug will display such information, Chrome, Opera and IE have built-in development toolbars). Another right question is how often do you execute this AJAX request per second (if necessary).
source share