Re: slow response of pdf

2014-11-02 Thread Johann Werner
Hi Frank, you really shouldn’t deliver your PDF file that way because by this you will load the file completely into memory. Currently your PDF file is only 10MB but can you be sure that it will have that size all the time? What if your PDF file will be 100MB and 10 users concurrently click you

Re: slow response of pdf

2014-11-01 Thread Frank Stock
Found it!! Thanks > Op 1 nov. 2014, om 21:48 heeft Pascal Robert het volgende > geschreven: > > Search the list’s archive, someone reported the same problem for Mavericks a > couple of months ago. > >> Hi Kevin, >> >> The reading is no problem, that takes only 8 seconds and is for the 10MB.

Re: slow response of pdf

2014-11-01 Thread Pascal Robert
Search the list’s archive, someone reported the same problem for Mavericks a couple of months ago. > Hi Kevin, > > The reading is no problem, that takes only 8 seconds and is for the 10MB. > But it takes 20 seconds to get the pdf to the browser with cgi and no time > with direct connect. > >

Re: slow response of pdf

2014-11-01 Thread Frank Stock
Hi Kevin, The reading is no problem, that takes only 8 seconds and is for the 10MB. But it takes 20 seconds to get the pdf to the browser with cgi and no time with direct connect. Frank > Op 1 nov. 2014, om 21:18 heeft Kevin het volgende > geschreven: > > I think you want to read more than

Re: slow response of pdf

2014-11-01 Thread Kevin
I think you want to read more than one byte at a time. Try reading a block of bytes at a time. You can try different numbers and see where the sweet spot is. HTH, Kevin > On Nov 1, 2014, at 10:26 AM, Frank Stock wrote: > > Hi All, > > I have moved my application from MacOS server 10.6 to

slow response of pdf

2014-11-01 Thread Frank Stock
Hi All, I have moved my application from MacOS server 10.6 to 10.9.5. I have done a complete new installation. The application works fine but when I create a pdf it takes about 25 seconds to see it in the browser. The pdf is about 10MB. When I do a direct connect I can see the pdf without dela