mpdf / mpdf.github.io

mPDF documentation
https://mpdf.github.io
Other
508 stars 160 forks source link

Generation mPDF very Slow on AWS (Serverless Docker) compared to a Ubuntu VPS #173

Closed Jaspur closed 2 years ago

Jaspur commented 2 years ago

Hi,

I have some big differences in time thats needed to generate a mPDF. On an AWS (Serverless with Docker) hosted Application it took me 25 seconds to generate a PDF, while that identically same PDF took 5 seconds to generate on a VPS with Ubuntu installed. The PDF doesn't contain any images, just plain text.

Is there something I can configure on AWS what can speed-up things? Like installing some extra packages in my Docker instance maybe?