Jump To Section
Currently, if a PDF has been generated during the PHP execution it won't be generated a second time (refer to our security policy for more information on how and when PDFs are saved to the filesystem). This occurs most often when sending the PDF via email to multiple parties. Use this filter to disable this cache and regenerate the PDF each time. Warning: This could cause long page load times for the end user, or timeouts.
This filter was introduced in Gravity PDF 4.2.
$enable | boolean : Return true to bypass the PDF cache
$pdf | Helper_PDF : This class does the heavy lifting for PDF generation
Use the following code to enable the field:
This filter is located in the
Model_PDF::process_and_save_pdf() method in