json - Should cpu-intensive operations be processed client side if possible? -
i serving page on website renders statistical data formed thousands of data points. none of data sensitive, security not concern.
my first instinct send data processed client doesn't slow doesn't slow server; yet, not sure if considered bad practice, or if potentially slower send large amounts of data instead of rendering few numbers first.
the data stored json if matters
the specifics matter here. can send 512kb of data browser successful processing? on desktops, yes. can send 20mb? no. try , see how works. if code in clean style, running in node vs browser should can experiment trying both ways.
Comments
Post a Comment