PDA

View Full Version : Fast Refresh


wonko
04-12-2008, 08:50 PM
Right now I have my AJAX read and write requests set on a timer to refresh every 300ms, but I noticed that if I'm on a computer with very slow internet it can't process the requests fast enough and doesn't work. Likewise a computer with fast internet is still limited to the 300ms.

I want to make the requests load as fast as possible depending on the user's internet connection, is there anyway to do this?

Spudhead
04-15-2008, 03:39 PM
I dunno what your application is doing but I don't think anything that needs to refresh every 300 milliseconds should be doing it over HTTP.

albinoloverats
05-16-2008, 05:31 PM
I have a similar problem - a web front end to a webcam app (all localhost).

The refresh needs to be quick, but not so quick that it floods the server if it cannot keep up.