PolicyStat / ckeditor-spell-check-plugin-js-dev-edge

User interface enhancements and beta features for http://ckeditor-spellcheck.nanospell.com . This repo is for nanospell developers and trusted partners to modify and fork plugin.js
Other
0 stars 0 forks source link

Batch spellcheck XHR requests, at least for the initial load #13

Closed caffodian closed 8 years ago

caffodian commented 8 years ago

scanning for words, and marking blocks should still be per-block.

But the in between step of doing the XHR check should be batched.

When for example, 5 blocks have been scanned, do the XHR to check the words. When this comes back, mark the blocks that were included in the XHR request.

caffodian commented 8 years ago

If it's low hanging fruit, we can do this for every spellcheck, but the initial load is most important.

I suspect given the way it is right now, it'll be easier to handle this in the initial spellcheck only.

caffodian commented 8 years ago

Fixed in #14