Open sashamitrovich opened 6 years ago
@grtjn commented:
the ui-router for root.detail contains a resolve that does an MLRest.getDocument.. that will fetch the entire doc before it starts showing the page.. if you move the getDoc to inside the detail.ctrl, at least the page can be shown.. and you can then also consider applying a transform for xhtml specifically that fetches a limited number of p's..
In a lot of POCs where we load customer data, the documents are often very big - up to hundreds of pages and 10s of MBs.
Consider introducing pagination or similar to speed up rendering of such documents.