Make define('WP_CACHE', true) part of wp-config.php as standard

  1. andykillen


    On all new installations the wp-config.php should include

    define('WP_CACHE', true);

    as a standard setting.

    Posted: 6 years ago #
  2. Ipstenu (Mika Epstein)
    Lead Plugin Wrangler

    Been suggested many times.

    Read http://codex.wordpress.org/Editing_wp-config.php#Cache

    Notice how there's no advanced cahce file anymore to activate? That's why it's part of a to-do list on your plugins :) Also it doesn't work for everyone.

    Posted: 6 years ago #
  3. andykillen


    Could you give me some examples of where it does not work? I a very interested as I often use the transients API in my plugin codes.

    Posted: 5 years ago #
  4. Ipstenu (Mika Epstein)
    Lead Plugin Wrangler

    Windows servers, for one. Also a lot of weird server configs (nginx had a funny issue with it a while back).

    Some older tickets:


    You can search around for why it's not included right now if you want.

    Posted: 5 years ago #
  5. juan.mendez

    I found a great solution after a while using phpFastCache. The library is very generic and that solves lots of issues with other cache plugins out there. Feel free to check out how I switched to it. http://juanmendez.info/replacing-wp_cache-for-phpfastcache/

    Posted: 4 years ago #

RSS feed for this topic


You must log in to post.

  • Rating

    5 Votes
  • Status

    Sorry, not right now