GravityPDF / gravity-pdf

Gravity PDF is the ultimate third-party PDF automation tool for generating digital PDFs using the popular form-builder plugin Gravity Forms.
https://gravitypdf.com
89 stars 20 forks source link

Template cache flushes and performance improvements #1514

Closed jakejackson1 closed 8 months ago

jakejackson1 commented 8 months ago

Description

This fixes two bugs related to the flushing of the PDF template cache, and makes a small improvement to performance when reading files from disk:

Testing instructions

Screenshots

Checklist:

Additional Comments

codecov[bot] commented 8 months ago

Codecov Report

Attention: Patch coverage is 86.66667% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 76.96%. Comparing base (16173d7) to head (230e99b).

Files Patch % Lines
src/Helper/Helper_Templates.php 91.66% 1 Missing :warning:
src/Model/Model_Templates.php 50.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## development #1514 +/- ## =============================================== - Coverage 76.96% 76.96% -0.01% =============================================== Files 244 244 Lines 12742 12739 -3 Branches 370 370 =============================================== - Hits 9807 9804 -3 Misses 2927 2927 Partials 8 8 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.