Title: WP Super Cache Config Code
Last modified: August 24, 2016

---

# WP Super Cache Config Code

 *  [wyclef](https://wordpress.org/support/users/wyclef/)
 * (@wyclef)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/wp-super-cache-config-code/)
 * Hello,
 * Is it necessary for the following code to be at the top of the wp-config file?
 *     ```
       define('WP_CACHE', true); //Added by WP-Cache Manager
       define( 'WPCACHEHOME', 'xxxxxxx' ); //Added by WP-Cache Manager
       ```
   
 * Also, in using this with [WordPress Skeleton](https://github.com/markjaquith/WordPress-Skeleton?)
   would I just add
 *     ```
       if ( !defined( 'WP_CACHE' ) )
         define( 'WP_CACHE', false );
       ```
   
 * to my local-config if I do not want to be caching on localhost?
 * [https://wordpress.org/plugins/wp-super-cache/](https://wordpress.org/plugins/wp-super-cache/)

The topic ‘WP Super Cache Config Code’ is closed to new replies.

 * ![](https://ps.w.org/wp-super-cache/assets/icon-256x256.png?rev=3506220)
 * [WP Super Cache](https://wordpress.org/plugins/wp-super-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-super-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-super-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-super-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-super-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-super-cache/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [wyclef](https://wordpress.org/support/users/wyclef/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/wp-super-cache-config-code/)
 * Status: not resolved