Skip to content

Page Event Scenarios

Colin Law edited this page Nov 5, 2017 · 7 revisions

Use this page to document the different possible page events in order (the control msgs). This will be used to work out the best approach for cache replays. Entries with an * come from the client, everything else comes from the server.

New Client page

'server connected', 'ready for content'*

CDL: but note that these could (I think) occur in either order.

Client page closed (e.g. tab/window closed)

'server disconnected'

Client page reload

'server disconnected', 'server connected', 'ready for content'*

Socket dropped and reconnected

'server disconnected', 'server connected'*

CDL: I am trying to find a consistent way of generating this, it can happen because that is why we had to put in the repeating re-connect attempts as sometimes it did not re-connect automatically - see issue #9

Clone this wiki locally