php - can i reduce load time while creating pdf? -


i have created pdf file tcpdf.

for less data works fine , not taking time load, if write more data takes 1 or 2 minutes load.

is there solution?

my file contains text, colors on text , few images - nothing else. still takes more time load.


i doing this:

$pdf->writehtmlcell($w=0, $h=0, $x='', $y='', $html, $border=0, $ln=1, $fill=0, $reseth=true, $align='', $autopadding=true); $pdf->output(); exit(); 

i found http://www.tcpdf.org/performances.php - maybe have implement xcache?

i had problem , didn't have code. running ubuntu linux, 32 bit version of operating system.

i reinstalled , switched 64 bit version , generation time went 1 2 minutes down 5 10 seconds. huge difference.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -