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

PDF performance - render only visible pages + buffer #132

Closed
wants to merge 1 commit into from

Conversation

Shane98c
Copy link
Member

@Shane98c Shane98c commented Dec 9, 2024

This PR was an attempt at improving rendering/loading performance and memory use by reducing the number of PDF pages that are rendered at once. We are closing it currently because we think the value of full text search via browser cmd+f is more important than these performance improvements at this stage.

There have been some attempts at implementing custom pdf search that we could potentially build on if we revisit this:
wojtekmaj/react-pdf#189 (comment)

Copy link

vercel bot commented Dec 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cdrxiv-org ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 9, 2024 7:44pm

@Shane98c
Copy link
Member Author

Shane98c commented Dec 9, 2024

Closing this because we want to maintain full text search.

@Shane98c Shane98c closed this Dec 9, 2024
@Shane98c Shane98c deleted the Shane98c/pdf-performance branch December 9, 2024 19:48
@Shane98c Shane98c mentioned this pull request Dec 9, 2024
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

Successfully merging this pull request may close these issues.

1 participant