-
March 25th, 2010, 05:21 PM
#4
hi,
yes indeed the issue is most likely caused by network latency. Obviously the browser cache could help, but that wasn't the case for your client.
Obviously if the browser gives up loading a file because of the delay there is nothing you can do apart from trying to load it again.
So you could check that window.Lightstreamer (declared by lscommons.js) and Lightstreamer.PushPage (declared by lspushpage.js) are in place before executing your code and, if not, try to load them again delaying the execution of your code.
I could suggest you to use something like RequireJS to load lscommons.js and lspushpage.js files. I did not try this library myself but it looks promising. Unfortunately it does not state (or I didn't see it) if it retries on failed requests or not.
HTH
Similar Threads
-
By ap7256 in forum Client SDKs
Replies: 15
Last Post: January 14th, 2009, 09:36 AM
-
By ningping in forum Client SDKs
Replies: 1
Last Post: August 6th, 2008, 11:05 AM
-
By eduramires in forum Client SDKs
Replies: 3
Last Post: February 4th, 2008, 09:14 AM
-
By eduramires in forum General
Replies: 1
Last Post: January 29th, 2008, 05:03 PM
-
By RichP1 in forum Client SDKs
Replies: 6
Last Post: December 18th, 2007, 01:57 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 07:15 AM.
Bookmarks