seitime-frappe/realtime
Ankush Menat be8d2b9de0 perf: lazy websocket connection on website
Establishing 1 connection for every website visit is too much.

Only after calling frappe.realtime.on(...) for ANY event, we will
establish a websocket connection.

This is used for handful of things:
- Discussion component
- File upload

Socketio was initially added here: https://github.com/frappe/frappe/pull/6866 this use case no longer exists.

Rarely anywhere website uses realtime.
2023-07-01 12:43:53 +05:30
..
handlers refactor: move handlers to separate file 2023-07-01 12:43:47 +05:30
middlewares perf: lazy websocket connection on website 2023-07-01 12:43:53 +05:30
index.js refactor: move handlers to separate file 2023-07-01 12:43:47 +05:30
utils.js refactor: move handlers to separate file 2023-07-01 12:43:47 +05:30