DocumentServer
DocumentServer copied to clipboard
improve the time point for spellchecker initializing
This issue is unique.
- [X] I have used the search tool and did not find an issue describing my idea.
Your idea.
i have tried to off the spellchecker acrroding to the document below
but i could still found the worker thread of spellchecker. I'm a little confused about this. In my mind, i thought the worker should not be there if the spellchecker feature is disabled. so i dive into the code. aha, the spellchecker initialized when websocket authed successfully. key code is here: https://github.com/ONLYOFFICE/sdkjs/blob/eb92448a74506b94ca984b6c6dd82b715ecf4836/common/docscoapi.js#L1648
and my question is whether this is necessary to initialize spellchecker while authing. it's better to initialize spellchecker when the main page is ready if feature is enabled.
what's your opinion? :)
Hello @reidzhou ! Sorry for late response!
Historically, it happened that the initialization of the spellcheck engine starts upon connection. This is because previously the spellchecker was server-based. Now it's a shared worker. The startup of the worker does not affect the loading speed.
This issue was closed due no response.