Closed jacobd91 closed 2 months ago
Attention: Patch coverage is 0%
with 45 lines
in your changes are missing coverage. Please review.
Project coverage is 4.22%. Comparing base (
5d82cc3
) to head (81ed0b9
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The Browser Cache lifetime (browsercache.html.lifetime) setting can cause all cache entries to be flagged as expired if set above the W3TC_CACHE_FILE_EXPIRE_MAX constant
This PR addresses that by setting the expired value to W3TC_CACHE_FILE_EXPIRE_MAX instead of 0, thereby forcing the max rather than flagging as expired
This PR also makes the Page Cache lifetime (pgcache.lifetime) setting visible when using the Page Cache "Disk Enhanced" engine as the value is used to determine the lifetime of cache files. Previously it was hidden if the engine was set to "Disk Enhanced" but if a value was stored in the config it would apply
Lastly, this PR adds information to various settings concerning the W3TC_CACHE_FILE_EXPIRE_MAX constant indicating that there is a hidden max value that can be overridden via wp-config. These settings include Page Cache Lifetime, Browser Cache HTML/XML lifetime, and Minify Garbage Collection Interval