Yes I have the same issue, minified cache size 10gb
@cicesk @pandarbalette Please use following snippet and add it to your active child themes functions.php file, it will automatically delete the minified files after 3 days
add_filter( 'wp_optimize_minify_cache_expiry_time', function( $original_value ) {
return time() - 86400 * 3;
} );
Anonymous User 20218298
(@anonymized-20218298)
Hi,
I also have the problem, that the old catched minify-files are not deleted automatically on the server. This causes that I’ve to delete the old catched minify files manually by FTP-Programm from our server (because after one day the minify-files are bigger than 500 MB, sometimes bigger than 1 GB).
I’ve also tried the suggested solution below (entering the following code to the theme function.php file), but this adjustemend to not work.
add_filter( ‘wp_optimize_minify_cache_expiry_time’, function( $original_value ) {
return time() – 86400 * 3;
} );
This is a really urgent problem and many users are affected. Please fix this assue with absolutly high priority!
Thank you very much.
Best regards,
Andreas
@andreas92 I’ll report this issue to our development team for further troubleshooting and if there’s a bug it will be fixed in future release.