-
-
Save bewho/3c2ca3ea52d28f224d8b0c478a62e0d4 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','256M'); | |
define( 'WP_MAX_MEMORY_LIMIT', '512M' ); | |
// 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