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

- 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:
Henrik Jess Nielsen
2026-04-19 19:12:54 +02:00
parent ab589f2960
commit badf8a556b
2 changed files with 3 additions and 1 deletions

BIN
static/Erika_Nielsen_CV.pdf Normal file

Binary file not shown.