#17 Share WebSocket connections between pages

Open
opened 1 year ago by jhabdas · 2 comments
jhabdas commented 1 year ago

https://html.spec.whatwg.org/multipage/workers.html

See Shared Workers and create prototype in attempt to prevent need to disconnect and reconnect from proxy server during page turns.

https://html.spec.whatwg.org/multipage/workers.html See Shared Workers and create prototype in attempt to prevent need to disconnect and reconnect from proxy server during page turns.
jhabdas added the
Investigation
label 1 year ago
jhabdas commented 1 year ago
Owner

See also the WHATWG spec on PageTransitionEvent.persisted which states a page is not salvageable for caching purposes if the page includes any of the following:

  • Listening for beforeunload events
  • Listening for unload events
  • Having iframes that are not salvageable
  • Active WebSocket objects
  • Aborting a Document

Of special interest is the active WebSocket objects.

See also the [WHATWG spec](https://html.spec.whatwg.org/multipage/browsing-the-web.html#the-pagetransitionevent-interface) on `PageTransitionEvent.persisted` which states a page is not salvageable for caching purposes if the page includes any of the following: - Listening for `beforeunload` events - Listening for `unload` events - Having `iframe`s that are not salvageable - Active `WebSocket` objects - Aborting a `Document` Of special interest is the active `WebSocket` objects.
jhabdas commented 1 year ago
Owner
https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.