If you've worked with designers, you know the routine. They hand you PDF templates: invoices, reports, certificates. Specific fonts, aligned columns, logos. You look at it and think: "I could build this in HTML and CSS in 20 minutes." So you do. Puppeteer. page.pdf(). Perfect output. Then reality hits. A client clicks "Download All" on 5,000 invoices and your server melts. I optimized everything I

I replaced Puppeteer with a Zig library and went from 18 to 17,000 PDFs per second
John Soto·Dev.to··1 min read
D
Continue reading on Dev.to
This article was sourced from Dev.to's RSS feed. Visit the original for the complete story.