New Signed URL PDF Delivery for More Reliable, Scalable Conversions
We’re excited to announce a significant improvement to PageSnap: direct PDF conversions now return a secure, expiring signed URL instead of transmitting the full PDF file in the HTTP response.
What Was the Previous Behavior?
Previously, PageSnap would send the entire PDF as a binary buffer, which worked well for smaller files but posed challenges with larger PDFs, leading to potential timeouts, AWS payload size limits, and unstable connections.
What’s Changing?
With our new enhancement, PageSnap will now generate your PDF, upload it securely to S3, and return a lightweight JSON response containing the signed URL, expiration time, and request ID. You can then download the PDF when ready, ensuring smoother handling of large files without risking network interruptions or AWS limits.
{
"request_id": "f6251f6b-0069-4d69-a90f-62f0a3f71d70",
"success": true,
"pdf": "https://...",
"expired_at": "2025-06-26 11:05:33",
"message": "PDF generated successfully. Use the provided URL to download.",
"error": null
}
Why We Made This Change?
- Stability: No more timeouts when transmitting large PDFs.
- Scalability: Avoid AWS Lambda and API Gateway payload size limits.
- Flexibility: Clients can download PDFs when convenient, improving reliability across various network conditions.
- Efficiency: Lightweight JSON responses make your applications faster and more responsive.
Conclusion
We are committed to improving PageSnap for developers, ensuring it remains a stable, scalable, and developer-friendly tool for all your HTML-to-PDF generation needs.
Ready to try it? Visit our documentation and start generating PDFs at scale with confidence.