CAM::PDF from Chris Dolan has been a phenominal asset for me. Recent project calls for combining more than 1,000 small PDF files into one big file.
All is well until the pages get up to more than 200, at which point it starts to slow down. Eventually, it takes about 30 seconds or more to append each additional file.
I'm using the following code after each append, hoping to clear up cache to speed thing up:
if ($PDF->needsSave()) { $PDF->cleansave() }
I have already reduced each of the small PDF files down to 45kb each.
Short of server upgrades, is there anything else I should do on the coding side to see improvements in speed?
Thanks in advance!