Created
October 12, 2020 13:47
-
-
Save ajmaurya99/057aff989fbaa9c04a08d12f04c30541 to your computer and use it in GitHub Desktop.
Increase Autoptimize cache size from default 512 MB to 2 GB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter('autoptimize_filter_cachecheck_maxsize', function () { | |
return 2 * 1024 * 1024 * 1024; // 2 GB | |
}, 10, 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment