BoldGrid / w3-total-cache

GNU General Public License v2.0
153 stars 86 forks source link

Flush better on actions #936

Closed cssjoe closed 3 months ago

cssjoe commented 3 months ago

This update better handles the flushing of Page, Object, and Database caches on certain actions. Fixes #929

To test:

  1. Enable Page, Object, and Database cache on a multisite installation.
  2. Create a test blog site.
  3. Browse around in incognito/private browsing to build cache objects.
  4. Delete the test blog site. Caches should flush.
  5. On any WordPress installation, repeat step 3 and each of the following actions: a. Switch theme. b. Create or edit a nav menu item. c. Take action to create or edit a taxonomy term. d. Take action to delete a taxonomy term.
codecov-commenter commented 3 months ago

Codecov Report

Attention: Patch coverage is 0% with 24 lines in your changes missing coverage. Please review.

Project coverage is 0.92%. Comparing base (a33980f) to head (0814fa3).

Files Patch % Lines
Util_AttachToActions.php 0.00% 16 Missing :warning:
ObjectCache_Plugin.php 0.00% 5 Missing :warning:
DbCache_Plugin.php 0.00% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #936 +/- ## =========================================== - Coverage 0.92% 0.92% -0.01% - Complexity 19228 19233 +5 =========================================== Files 661 661 Lines 96556 96564 +8 =========================================== Hits 893 893 - Misses 95663 95671 +8 ```

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

cssjoe commented 3 months ago

The reporter of issue 929 confirms the update fixes that issue.