WordPress.org

Ready to get started?Download WordPress

Ideas

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

  1. andykillen
    Member

    12345

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

    define('WP_CACHE', true);

    as a standard setting.

    Posted: 2 years ago #
  2. Ipstenu (Mika Epstein)
    Administrator

    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: 2 years ago #
  3. andykillen
    Member

    12345

    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: 2 years ago #
  4. Ipstenu (Mika Epstein)
    Administrator

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

    Some older tickets:

    http://core.trac.wordpress.org/ticket/4045

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

    Posted: 2 years ago #
  5. juan.mendez
    Member

    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: 9 months ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    3 Votes
  • Status

    Sorry, not right now