Large document performance & low-memory PDF generation
S
Saurabh Choudhary
Improve vue3-pdf-export for large and complex documents, especially 50–100+ page PDFs with images, headers, footers, watermarks, security, and mixed content.
Planned work includes:
benchmark 10 / 25 / 50 / 100 page documents
measure generation time, PDF size, and browser memory usage
detect and prevent memory leaks during repeated generation
reduce peak memory usage for canvas rendering
explore page-by-page / low-memory rendering
improve image optimization and repeated asset caching
add cancellation for long-running PDF generation
expose current-page / total-page progress
warn developers when a document may exceed safe browser limits
improve browser responsiveness during long generation
stress-test complex HTML layouts
expand Playwright E2E coverage for large documents and cleanup
The goal is to make large PDF generation safer, faster, and more reliable across desktop and lower-memory devices without changing the existing HTML-to-PDF developer experience.
Photo Viewer
View photos in a modal