Skip to content

Performance issue for big pdf files #55

@derpierre65

Description

@derpierre65

We are considering using the vue-pdf-viewer as an organization.
However, our customers often work with large PDF files (5,000-10,000+ pages).
These PDFs load very quickly during the initial process, but as soon as the user starts scrolling through the scrollbar or jumps directly to a page like page 3000, it takes a very long time before the preview becomes visible.

For example, with a 7,720 page PDF, I had to wait around 40 seconds before the preview became visible.
I tested the performance on the main site at https://www.vue-pdf-viewer.dev/ by loading a local file, not sure if it would be faster on our own site.

Would it be possible for you to take a look at this behavior?
In its current state, unfortunately, it's not usable for us.

I've attached a test PDF. Due to GitHub's 25MB upload limit, the file is slightly smaller.
I created the large PDF by merging smaller ones multiple times using ilovepdf.com.

If you need any further information, please let me know.

ilovepdf_merged-3088.pdf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions