Skip to main content

Filter: gfpdf_gv_bulk_export_use_cache

Whether this export reuses the render cache.

On by default: a re-run, or a selection that overlaps an earlier one, then serves each document from cache instead of paying for a fresh mPDF pass. Return false to render every entry cold — which also stops the export writing cache files it would otherwise populate.

Subject to GravityView's own caching gate (\GFPDF\Plugins\PdfForGravityView\Pdf\Cache::is_enabled()): a site with caching disabled (per-View, globally, or via GRAVITYVIEW_DISABLE_CACHE) exports cold regardless, exactly as the rest of the plugin does.

Parameters

NameTypeDescription
$use_cachebool
$view\View

Since

  • 2.0

Source

Defined in src/GravityView/BulkExport.php at line 444