-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First loading is slow #1
Comments
socket.emit(
'strokes',
strokes,
() => console.log(socket.id, 'sync strokes cost', new Date().getTime() - t, 'ms')
);
const io = new Server(httpServer, {
// Add 'perMessageDeflate: true' option to compress messages
perMessageDeflate: true,
parser: msgpackParser,
serveClient: false,
path: path.join(basePath, 'socket.io'),
cors: { origin }
}); If possible, I will continue to optimize the table structure, reduce redundant data storage and transmission in the future. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When open https://huoyijie.github.io/infinity in the browser, the page shows loading and is very slow.
The text was updated successfully, but these errors were encountered: