Skip to content
This repository has been archived by the owner on Oct 5, 2020. It is now read-only.

Opening / rendering big documents on the detail page takes forever #551

Open
sashamitrovich opened this issue Apr 12, 2018 · 1 comment
Open

Comments

@sashamitrovich
Copy link

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.

@sashamitrovich
Copy link
Author

@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..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant