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

Improve Template Caching #1527

Open jakejackson1 opened 6 months ago

jakejackson1 commented 6 months ago

Description

The additional caching done on installed templates is causing some friction for some developers. Specifically those that install templates via FTP or a File Manager.

  1. Research viability of generating a "cache" file that includes a JSON dump of all template information. Clearing the cache is as simple as deleting the file.
  2. Research viability of disabling the caching when the WP environment is in development
jakejackson1 commented 4 months ago

Add unit tests for the Debug class when tackling this https://app.codecov.io/gh/GravityPDF/gravity-pdf/pull/1556/blob/src/Statics/Debug.php