#17 Share WebSocket connections between pages

Open
opened 2 years ago by jhabdas · 2 comments
jhabdas commented 2 years ago (Migrated from git.habd.as)
Owner

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 commented 2 years ago (Migrated from git.habd.as)
Poster
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 2 years ago (Migrated from git.habd.as)
Poster
Owner
https://developer.mozilla.org/en-US/docs/Web/API/BroadcastChannel
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.