Last active
January 6, 2020 17:55
-
-
Save skipshean/589ce2f4bb9039b0e54ed93529f6f84a to your computer and use it in GitHub Desktop.
WordPress config optimizations, place in wp-config.php file for optimal performance
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
// other general wordpress optimizations, place in wp-config.php file before "That's all, stop editing!" line. | |
define('WP_DEBUG', false); | |
define('WP_POST_REVISIONS', 5); | |
define('AUTOSAVE_INTERVAL', 600); | |
define( 'EMPTY_TRASH_DAYS', 3 ); | |
define('WP_MEMORY_LIMIT','96M'); | |
define( 'WP_MAX_MEMORY_LIMIT', '128M' ); | |
// optional, remove this comment and the // below if you want to limit external requests in admin screens | |
// define( 'WP_HTTP_BLOCK_EXTERNAL', true ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment