Created
April 23, 2021 04:34
-
-
Save ilearnbydoing/92f357c30840042d45967917d4535684 to your computer and use it in GitHub Desktop.
OptimizeWP.in - WordPress key optimization config options
This file contains hidden or 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
// Limit number of saved revisions to five | |
define( 'WP_POST_REVISIONS', 5 ); // limit number of revisions to 5 | |
// Control how often WordPress autosaves | |
define( 'AUTOSAVE_INTERVAL', 160 ); // in seconds | |
// Empty trash every 7 days | |
define( 'EMPTY_TRASH_DAYS', 7 ); // empty trash weekly | |
// Increase memory limit to 128mb for the front-end and 256mb for wp-admin | |
define('WP_MEMORY_LIMIT', '128M'); // increase limit to 128M | |
define('WP_MAX_MEMORY_LIMIT','256M'); // increase admin limit to 256M |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment