Ajax causing page lag
I have a web app that performs a lot of ongoing ajax requests to keep multiple elements all up to date as time goes by, so there are almost always ajax calls going on in the background - this is neccessary in this situation.
Now for the problem (aka annoyance), when there's an ajax call in progress page elements all lag, e.g. If I hover over a:hover etc everything lags and if I disable the ajax calls and do the hovers they all respond immediately.
Is there some kind of way I can stop my ajax calls from making the page feel so damn laggy?
You could use a queue system for low-priority calls. You could also perhaps combine several of those low-priority calls together to help reduce the amount of traffic.
Originally Posted by smftre