Slow PDF creation - DOMPDF Laravel5

Asked

Viewed 616 times

1

I am currently using the Barryvdh Dompdf to create reports in a system made with Laravel 5.1, but it is very slow because of the size of the reports, so that, for many times (almost always), it ends up running out the loading time limit.

I make the whole report as if it were a view and then upload it in PDF, according to the documentation, with the loadView. The reports are 70 pages long.

How can I optimize this?

  • I use the Laravel-Snappy, I really liked it. It is easy to use and I got a very satisfactory performance. https://github.com/barryvdh/laravel-snappy

  • Well, there’s a chance you could run on the command line?

  • I’ll take a look at this Snappy @Felipepaetzold

  • I’m sorry but I don’t understand, run what @Wallacemaxters?

  • Command line, run some command via terminal. You use shared or dedicated server?

  • A ta, is shared

Show 1 more comment
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.