WordPress.org

Forums

V2.0.2 and cache (9 posts)

  1. RaulTBC
    Member
    Posted 9 years ago #

    Is there a setting for turning on and optimizing cache or is it behind the scenes? I need to "optimize" my WordPress installation as it is taking too much CPU - looking at a log file it shoulds a total of 39.8 seconds of CPU in a 30-second window. This is causing a CPU threshold to be reached on the hosting company (one of those recommeded in the "Hosting" section of this site).

    I'm also getting the following error when I review the log:

    [Sat Mar 25 12:22:52 2006] [debug] mod_rewrite.c(1643): [client x.x.x.x] mod_rewrite's internal redirect status: 0/10

    (I replaced the IP with 'x.x.x.x')

    Any help or ideas would be appreciated.

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Caching is off by default in 2.0.2 but was on in 2.0.1 and
    2.0

    You might want to take a look at http://dev.wp-plugins.org/wiki/WP-Cache and read around that topic.

  3. RaulTBC
    Member
    Posted 9 years ago #

    Installation of 2.0.1 created the cache directory, but I don't see a wp-cache plugin from that install. Was it internal and no longer internal in 2.0.2?

  4. RaulTBC
    Member
    Posted 9 years ago #

    Is the gzip option on reading the 2.0.2 cache setting?

  5. Chris_K
    Member
    Posted 9 years ago #

    Raul - no, that gzip option isn't related to caching.

    Podz - is
    define('DISABLE_CACHE', true);
    defaulted in 2.0.2 wp-config.php ? I noticed my upgraded 2.0.2 is still caching and your comment above made me curious.

  6. Mark (podz)
    Support Maven
    Posted 9 years ago #

    http://trac.wordpress.org/changeset/3504

    I mentioned the cache issue at #meetup and matt said it was now off. I assume the ticket above is it.

  7. RaulTBC
    Member
    Posted 9 years ago #

    What's the difference between using WP-Cache and the processing in the cache.php file?

  8. miscblogger
    Member
    Posted 8 years ago #

  9. davidchait
    Member
    Posted 8 years ago #

    WP-Cache is "Page" caching. The WP-internal cache is more of what I'd call "Query" or "Object" caching. The former caches the generated page and can spit it back out when the same URL is requested, without all the processing, while the latter optimizes certain DB lookups by caching them on the local disk (only helps if your SQL server is slow/overloaded, really...).

    WP-Cache should be useful for anyone with relatively high-use blogs.

    -d

Topic Closed

This topic has been closed to new replies.

About this Topic