Disable WP_CACHE for WordPress

If you're publishing recent changes to your WordPress website and not seeing them live, you'll want to try disabling WP_CACHE, as this is what allows your website to cache it's 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.

Hjalp denne artikel?
Tak for din feedback.
Det glæder os, at vi kunne hjælpe! Er der andet, vi kan gøre for dig?
Beklager. Er der andet, vi kan gøre for at hjælpe dig?