Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Large PDF files take a long time #1209

Open
abo3bdoo opened this issue Sep 13, 2024 · 0 comments
Open

Large PDF files take a long time #1209

abo3bdoo opened this issue Sep 13, 2024 · 0 comments

Comments

@abo3bdoo
Copy link

When the pdf file size is large, exceeding 100 MB, it takes time to display, so I suggest:

  1. Lazy Loading
    It usually loads pages gradually with scrolling, and it can be made to display pages within a certain number range, for example 10 before the current page and 10 after it, so that the user does not wait at all
    Or:
  2. When the file is opened, the page that was entered appears directly with 10 before and 10 after it, and then the rest of the pages are loaded in the background in the usual way.
    Or:
  3. If the file is large, it is divided into 5 sections, each of which has 50 pages, for example, and when the first section is loaded, if the second section is approached, it is loaded with the same display. Example:
    From the list of titles, we opened a page belonging to file_1.pdf, and let's assume that we reached page 48, file_2.pdf is added to the display, so that we have 100 pages displayed, in other words, file_1.pdf and file_2.pdf become one block
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant