Title: Prevent plugin from changing WP_CACHE constant
Last modified: December 8, 2023

---

# Prevent plugin from changing WP_CACHE constant

 *  Resolved [anheco](https://wordpress.org/support/users/anheco/)
 * (@anheco)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/prevent-plugin-from-changing-wp_cache-constant/)
 * I’m using Litespeed on a non-litespeed server in conjunction with an other caching
   plugin (WP Super Cache).
 * Litespeed is used for assets (images, css, js) and object cache while WP Super
   Cache is used for caching pages
 * My problem is, since Litespeed’s page caching features are disable, it keeps 
   removing the WP_CACHE constant from my wp-config.php file, thus preventing WP
   Super Cache from working.
 * Is there anyway to avoid this behavior?
 * Thanks for your help!
    -  This topic was modified 2 years, 6 months ago by [anheco](https://wordpress.org/support/users/anheco/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/prevent-plugin-from-changing-wp_cache-constant/#post-17263966)
 * what if you just keep that “enable cache” option set to ON ?
 *  Thread Starter [anheco](https://wordpress.org/support/users/anheco/)
 * (@anheco)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/prevent-plugin-from-changing-wp_cache-constant/#post-17263976)
 * It doesn’t seem like a bad idea!
 * I guess I was afraid enabling this setting would have unexpected consequences
   or conflicts with Wp Super Cache?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/prevent-plugin-from-changing-wp_cache-constant/#post-17263978)
 * nope , don’t worry about that part , our plugin relies on webserver software 
   to cache , itself only sends cache header like `x-litespeed-cache-control: xxx`
   which only our webserver will interpret , other webserver will ignore it
 * in case you are not using LiteSpeed webserver, you can also try our CDN [https://quic.cloud/](https://quic.cloud/)
   which will cache the page at CDN nodes.
    -  This reply was modified 2 years, 6 months ago by [qtwrk](https://wordpress.org/support/users/qtwrk/).
 *  Thread Starter [anheco](https://wordpress.org/support/users/anheco/)
 * (@anheco)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/prevent-plugin-from-changing-wp_cache-constant/#post-17263981)
 * All good then!
 * Thanks for the tip regarding QUIC.cloud 🙂
    -  This reply was modified 2 years, 6 months ago by [anheco](https://wordpress.org/support/users/anheco/).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Prevent plugin from changing WP_CACHE constant’ is closed to new replies.

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

 * 4 replies
 * 2 participants
 * Last reply from: [anheco](https://wordpress.org/support/users/anheco/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/prevent-plugin-from-changing-wp_cache-constant/#post-17263981)
 * Status: resolved