Skip to content

Instantly share code, notes, and snippets.

@ellegaarddk ellegaarddk/functions.php
Last active Mar 11, 2019

Embed
What would you like to do?
Autoptimize: adjust the level of the autowarning on cache size to 1GB
<?php
// #Adjusting Autoptimize warning limit to 1GB
add_filter('autoptimize_filter_cachecheck_maxsize','adjust_cachesize');
function adjust_cachesize() {
return 1024*512*1024;
}
@ellegaarddk

This comment has been minimized.

Copy link
Owner Author

commented Mar 11, 2019

Adjusting the warning limit in Autoptimize to 1GB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.