Serve pre-rendered PDF as static file for instant download
All checks were successful
Build and Deploy Erika CV / build-and-deploy (push) Successful in 1m10s
All checks were successful
Build and Deploy Erika CV / build-and-deploy (push) Successful in 1m10s
- Render PDF once with WeasyPrint, save to static/Erika_Nielsen_CV.pdf - Change download button from WeasyPrint route to direct static file link - Faster download, no server-side rendering on each click
This commit is contained in:
BIN
static/Erika_Nielsen_CV.pdf
Normal file
BIN
static/Erika_Nielsen_CV.pdf
Normal file
Binary file not shown.
Reference in New Issue
Block a user