Hi,
Cache Files Limit means the maximum cache file Docket Cache can store on disk.
X/50,000 means 50,000 is the maximum files and X is the current counted files. If X is greater than 50,000 it will cleanup by Garbage Collector.
For example:
79,000 / 50,000 -> 79000 – 50000 = 29000
29000 total files will cleanup by Garbage Collector.
Garbage Collector is a Cron Events that runs every 5 minutes, and WP Cron needs to run actively. Please refer to Cronbot -> CRON EVENTS -> Hook -> docketcache_gc.
You can change the configuration by defining the DOCKET_CACHE_MAXFILE constant in wp-config.php, kindly refer to available documentation https://docs.docketcache.com/constants#docket_cache_maxfile
You can run Garbage Collector manually by using Garbage Collector Action Button, by default disabled, enable it at Configuration -> ADMIN INTERFACE -> Garbage Collector Action Button. The Action Button will place on Overview -> ACTIONS.
I hope this will answer your question.
Thanks.
Hi, Thank you for the info.
So, I tried to run the garbage collection, but the number just stayed the same and it keeps going above 50,000. Further, I attempted to define in the wp-config to raise it to 100,000, but I received an error that it was already defined in wp-load line 37, which was this:
/** The config file resides in ABSPATH */
require_once ABSPATH . 'wp-config.php';
Would the limit going over 50,000 slow the site down in any way or perhaps crash the server because I’ve been experiencing this lately. The plug-in speeds up the back end for a bit, but I have to manually purge the cache every few hours to lower that File Limit.
Thanks again for the help.
Hi,
It seems like it already defined in wp-config.php.
try put in wp-config.php
Before:
/* That's all, stop editing! Happy publishing. */
After:
!defined('DOCKET_CACHE_MAXFILE') && define('DOCKET_CACHE_MAXFILE', 100000);
/* That's all, stop editing! Happy publishing. */
And check it at Overview -> Cache Files Limit if any changes.
Thanks.