I am using polling with Javascript to get some information with ajax but in exact the same time intervals.
intervalRequestId = setInterval('loadInfo()', 2500);
Because I know now, that the information is coming in different time intervals, I want to make the polling in different time intervals. For example:
First request: after 2 seconds - > very importand that is after 2 seconds! Second request: after 7 seconds Third request after 15 seconds Fourth request after 25 seconds
Is there good possibility?