Skip to content

Instantly share code, notes, and snippets.

@lukecav
Created September 28, 2016 21:29
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save lukecav/532bc4c6e70a7207d8457e133bac0daf to your computer and use it in GitHub Desktop.
Save lukecav/532bc4c6e70a7207d8457e133bac0daf to your computer and use it in GitHub Desktop.
wp-config.php define Caching and Gzip
/* WordPress Cache */
define( 'WP_CACHE', true );
/* Compression */
define( 'COMPRESS_CSS', true );
define( 'COMPRESS_SCRIPTS', true );
define( 'CONCATENATE_SCRIPTS', true );
define( 'ENFORCE_GZIP', true );
/* Memory limit */
define('WP_MEMORY_LIMIT', '256M');
/* Debug */
define( 'WP_DEBUG', false );
define( 'WP_DEBUG_LOG', false );
define( 'WP_DEBUG_DISPLAY', false );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment