Increasing performance of multiple reports on single page

I’ve recently been working on optimising our Flexmonster usage and wondering about increasing the performance further, as we are hitting 8 reports on the same page currently, all rather small, with the possibility of more being added in the future.
What I’ve done so far:

– Updated to using the JSON data method, so the report data is only fetched once (cached between the reports.)
– Moved from XML config to inlining the configuration in JavaScript
Is there anyway to make it so we have a global localisation file, so each report doesn’t fetch this? Currently we have a custom localisation file which gets fetched by every single report slowing the load times of them (this doesn’t seem to scale greatly) 
Also, is it possible to pre-load the required Flexmonster JS assets? We’re running Flexmonster as an angular app so it’s sort of conflicting to load jQuery as well, but we might as well do it all at first load if possible ..
Any other suggestions?

2 answers

Ian Sadovy Staff August 4, 2016

Hi, Ash!
Yes, I understand your problem. We are working on the problem of multiple reports performance and it will be much better in the next version 2.3. One more improvement is a better integration with popular frameworks like Angular. I hope it will help you really much.
Regarding localization, it will be moved to JSON style in the next version. For now, I can propose you to use setLabel method from JavaScript API ( E.g.

function pivotCreationCompleteHandler() {
  var labels = flexmonster.getLabels();
  labels["BUTTON_OK"] = "Accept";
  labels["BUTTON_CANCEL"] = "Reject";
} flexmonster.embedPivotComponent("flexmonster/", "pivotContainer", "100%", "515", {   jsPivotCreationCompleteHandler: pivotCreationCompleteHandler });
ash August 5, 2016


That actually helps and I’m glad to hear this is a focus of 2.3

Please login or Register to Submit Answer