Disable WP_CACHE for WordPress

If you're publishing recent changes to your WordPress website and not seeing them live, try disabling WP_CACHE, as this is what allows your website to cache its content. Disabling this feature is done through a file named wp-config.php in your WordPress folder.

  1. Edit the wp-config.php for your website. (cPanel / Plesk / Web & Classic / Managed WordPress / VPS)
  2. Locate this section in wp-config.php:
    define('WP_CACHE',true);
  3. Change true to false.
  4. Save your changes.

Next steps

  • Once you're sure that your changes are live, you should change WP_CACHE back to true.

Was This Article Helpful?
Thanks for your feedback. To speak with a customer service representative, please use the support phone number or chat option above.
Glad we helped! Anything more we can do for you?
Sorry about that. Tell us what was confusing or why the solution didn’t solve your problem.