Disable WP_CACHE for WordPress

Table of Contents

No headings found. Save or update post first.

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 .
  2. Look for define('WP_CACHE', true); and if you do not see it, we need to add it.
  3. Copy / paste define('WP_CACHE', false); before the part that says /* That’s all, stop editing! Happy publishing. */ (around line 70 maybe?)
  4. Make sure WP_CACHE is false… and not true.
  5. Save your changes.