[wp-hackers] Questions about the Cache
davebytes at comcast.net
Wed Jul 19 14:22:56 GMT 2006
Actually, someone can correct me, but options caching and the wp 'object
cache' are I think different beasts. Options caching is built directly into
the options system, whereas the object cache is made to cache more 'general'
queries to SQL.
In any case, if you are on a shared server, don't enable the wp object
cache. It can actually hurt performance, and on some servers its
functionality is 'broken' and it actually spikes cpu usage. The object
cache is IMHO only to be used on dedicated servers, by a coder/admin who
knows what they are doing (and probably using one of the replacement
implementations, such as memcached, APC, etc.).
----- Original Message -----
From: "Mark Harwood" <mark at phunky.co.uk>
To: <wp-hackers at lists.automattic.com>
Sent: Wednesday, July 19, 2006 8:56 AM
Subject: Re: [wp-hackers] Questions about the Cache
| The cache is enabled, i think its just down to me using Apache on
| windows - i have been able to do what i wanted now tho thanks to Vipers
| comments, will have to give it a proper test later on in the day on my
| live webserver to see if it caches it properly tho
| Robert Deaton wrote:
| > On 7/19/06, Mark Harwood <mark at phunky.co.uk> wrote:
| >> Arrr right i do kinda get what your saying now, i just thought it would
| >> be possible to just add to the $wp_object_cache->cache[users] that
| >> already gets set but i guess this is not stored?
| > Perhaps you need to enable the cache, which is now disabled by default.
| wp-hackers mailing list
| wp-hackers at lists.automattic.com
More information about the wp-hackers