|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
cfcontent to serve PDF files hanging
Our application uses cfcontent to serve back some PDF files and several times per day, the request for a pdf will just hang, like 300,000 + milliseconds to bring back a PDF that is already created.Jason Fill 08/31/10 11:41 A The only think I could think of is use application/pdf for the Content-TypeJake Churchill 08/31/10 12:02 P Good call I think Jake...Mark A. Kruger 08/31/10 12:14 P ON the other hand... I would expect a mime/type problem to result in anMark A. Kruger 08/31/10 12:19 P Thank you for the ideas. We are going to change the mime/type and also add some I/O logging to see if we can find a correlation there. Should we find the issue I will certainly post back.Jason Fill 09/01/10 03:59 P Jason,Stephen Hardesty 05/10/11 09:56 A Our application uses cfcontent to serve back some PDF files and several times per day, the request for a pdf will just hang, like 300,000 + milliseconds to bring back a PDF that is already created. The code we are using is quite simple and each users file is fully generated before this call is made. <cfcontent reset="true" /> <cfheader name="Content-Type" value="pdf"> <cfheader name="Content-Disposition" value="#type)#; filename=#userid#_file.pdf"> Has anyone ran into this before or have any ideas what might be going on? Thanks Jason The only think I could think of is use application/pdf for the Content-Type (that is technically the correct mime type). -Jake On Tue, Aug 31, 2010 at 10:33 AM, Jas ----- Excess quoted text cut - see Original Post for more ----- Good call I think Jake... The only think I could think of is use application/pdf for the Content-Type (that is technically the correct mime type). -Jake On Tue, Aug 31, 2010 at 10:33 AM, Jas ----- Excess quoted text cut - see Original Post for more ----- ON the other hand... I would expect a mime/type problem to result in an error on the browser - not a hanging request, unless of the course the "hanging" is the browsers cycling through choices to figure out how to display the file. How may files are in the directory in question? Do you perhaps have an I/O problem? Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com Good call I think Jake... The only think I could think of is use application/pdf for the Content-Type (that is technically the correct mime type). -Jake On Tue, Aug 31, 2010 at 10:33 AM, Jas ----- Excess quoted text cut - see Original Post for more ----- Thank you for the ideas. We are going to change the mime/type and also add some I/O logging to see if we can find a correlation there. Should we find the issue I will certainly post back. Thanks for the time! Jason ----- Excess quoted text cut - see Original Post for more ----- Jason, I am experiencing a similar problem. Did you ever find out exactly what was causing yours? thanks, Stephen ----- Excess quoted text cut - see Original Post for more -----
|
February 04, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||