slimhase wrote: 
>  I get the red '!' (in earlier times the spinning wheel) for sometimes
> up to 10seconds.

That means the CometD connection has been lost. I use libcometd.js,
which is a Jvascript library for using the cometd protocol to talk to
LMS. This allows Material to receive status updates, etc, without having
to poll the server. CometD will attempt to reconnect. But when the
initial connection is lost, I show the 'i' icon (not spinner, as that
used too much CPU). When the connection is re-established, the 'i' is
removed. If it takes longer than 10 seconds you will see the full screen
'connection lost" dialog - with a 'Reconnect' button.

slimhase wrote: 
> Edit: It is even faster responsive again when I kill that webpage/Safari
> 1st and restart it compared to just reopening it and waiting for the
> red! to vanish

That's because by re-starting you are forcing a new connection. To save
hammering the server, libcometd will wait up to 5 seconds between each
connection attempt. I'll try updating the code to use a max of 1 second

slimhase wrote: 
> Edit II: Even stranger: On my older and slower Iphone 5s the problem is
> much less obvious. But its consistent with the newer and faster iPhone
> SE. All phone settings the same!

Perhaps different iOS version? If so, then it'll be a different WebKit
version (Safari's backend is called WebKit) - and this, I'd guess, has
different behaviour.


------------------------------------------------------------------------
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to