In the pursuit of performance
This is kind of a feature request, but more closely related to development of the application as a whole. I stumbled on this @julian and thought it would be some useful analytics on how fast we can make the application (unless you already have something in place?)
His blog is also interesting
Guest last edited by
@BDHarrington7 the application performance is one thing, the server performance another.
I personally focus on the server performance, which includes theme optimization as well.
Here the server kicks in. Make sure to have appropiate hard drives (namely SSD's) for the best perfomance, just like a proper bandwith itself (1GBits for example).
The founding team, I can safely say, is not happy with NodeBB's performance as is, so we won't be resting until it is even faster
Mainly, we use require.js on the front-end, with a minimised file for as many client-side assets as possible (
nodebb.min.js). However, although having a single payload is arguably better, it is a very large file, and there are some scenarios where libraries should be lazy loaded when requested.
e.g. There's no need for sound files or composer logic right when NodeBB is loaded, but they are bundled into the minfile.
That said, @psychobunny wants to experiment with newer tech like webpack or bower, or some such... we shall see where that goes
Also ACP related scripts are part of nodebb.min.js...
It isn't good, especially when you create rich ACP UX.