Landing page

I would like to generate PDF versions of the stories on my site. My stories are static, and it makes more sense to generate a PDF file from a story once and save it on the server than it does to generate it on-the-fly each time the file is requested. Are the developers of this module planning to provide an option that allows for the saving of generated PDF files on the server, rather than having them streamed to the user?

My apologies if this has been covered elsewhere or is too far beyond the scope of this module.

Comment File Size Author
#44 print-clean_cache_with_cron-516466-43.patch 3.14 KB kienan
 
#34 print-cache_generated_pdf_files-516466-0.patch 25.32 KB kienan
 

Tag1 supports Drupal development Comments

 

 

jcnventura Credit commented 
Title:  Option to save PDF file to server?  » Cache PDF file in server
Status:  Active  » Postponed

No. What you're referring would be to develop some kind of 'cache' of PDF files. This could be done, but it would require tracking the revision date of the node and the date of generation of the latest PDF, to invalidate the 'cached' copy in case there has been any changes to the node since the last time that the PDF was generated.

This would save some seconds of PDF generation time, but would waste a lot of space in the hard disk. Since in most situations the o