Minify in general settings is enabled and on manual.
Minify for CSS / JS is enabled at the minify settings.
But nothing happens.
As soon as I change to AUTO, it works.
]]>PHP Errors in Ajax Response
query-monitor.js?ver=1597960761:376
Object
component: "Unknown"
file: "wp-content/plugins/w3-total-cache/Cache_File.php"
key: "a4e51506f07b629df2c74000ea403fbe"
line: 169
message: "unpack(): Type L: not enough input, need 4, have 0"
stack: []
type: "warning"
__proto__: Object
]]>Environment:
Docker containers:
I have confirmed that Redis is working and is connected through the Redis Object Cache plugin. I had to modify the wp-config.php to include the Redis configuration information. I also added in the db-config.php file within the W3 cache plugin directory with the following settings:
//
// redis config cache
//
define( 'W3TC_CONFIG_CACHE_ENGINE', 'redis');
define( 'W3TC_CONFIG_CACHE_REDIS_SERVERS', 'site1-cache::6379' );
// optional redis settings
define( 'W3TC_CONFIG_CACHE_REDIS_PERSISTENT', true );
define( 'W3TC_CONFIG_CACHE_REDIS_DBID', 0 );
define( 'W3TC_CONFIG_CACHE_REDIS_PASSWORD', '' );
wp-config.php (redis section)
/** Define Redis Caching **/
define('WP_REDIS_HOST', 'site1-cache');
//define('WP_REDIS_CLIENT', 'predis'); // appears that even though PHPredis is specified below, the plugin still utilizes predis
define('WP_REDIS_CLIENT', 'phpredis');
//define('WP_CACHE', 'true'); // this is already defined at the top of the file.
define('WP_CACHE_KEY_SALT', 'site1');
define('WP_REDIS_DISABLE_BANNERS', 'true');
define('WP_REDIS_DATABASE', '0');
define('WP_REDIS_TIMEOUT', '5'); // timeout in seconds
define('WP_REDIS_READ_TIMEOUT', '5'); // Read timeout in seconds
define('WP_REDIS_RETRY_INTERVAL', '100'); // Retry interval in milliseconds
Is there something that I’m doing wrong in order for W3 to actually recognize Redis as an option for caching?
]]>I want basically an automatically way to delete all minify caches as soon as I make any changes within js files.
]]>