seitime-frappe/frappe/website/js
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
..
bootstrap-4.js style: format JS files with prettier 2022-08-04 14:51:01 +05:30
syntax_highlight.js style: format JS files with prettier 2022-08-04 14:51:01 +05:30
website.js perf: lazy websocket connection on website 2023-07-01 12:43:53 +05:30