Page 1 of 1

Faster PDF Generation

Posted: Fri Jan 09, 2009 9:02 am
by icesolid
I currently use FPDF for generating PDF's on the fly. It creates the PDF instantly and its great! As soon as the user clicks on the button I provide, the "Open / Download" dialog comes right up instantly and the file is ready to be opened or downloaded.

The problem is 50% of the time that the user clicks on the "Open" or "Download" button, the opening or downloading process takes forever. The other 50% of the time is works pretty well, not great.

I have tried this on multiple different internet connections and different PCs, it is still the same 50/50 result.

Is there anyway to speed up that opening and downloading process? Or make it more stable at least?

Re: Faster PDF Generation

Posted: Fri Jan 09, 2009 6:41 pm
by it2051229
FPDF are recommended only for light weight documents since the generation of the PDF is only processed when the user requests to do so with a CLICK on the link but remember the processing has limit and normally it would take 30 seconds. How big are the documents to be processed to PDF?

Re: Faster PDF Generation

Posted: Sat Jan 10, 2009 11:33 am
by icesolid
Average is 2.5 MB

Re: Faster PDF Generation

Posted: Sat Jan 10, 2009 6:33 pm
by it2051229
I use FPDF too and never tried 2.5 mb, how about asking this on there foruM?