[wp-hackers] WP_Object_Cache problem

Chris Scott cjscott69 at gmail.com
Fri Dec 11 17:08:12 UTC 2009


On Fri, Dec 11, 2009 at 11:57 AM, Brad Williams <bradw at illiams.com> wrote:
> According to the Codex and to Doug's post caching should work across page
> loads using the WP_Object_Cache class

2.5 removed the file caching from object cache. The "new" way is to
drop a object-cache.php file in the content directory that extends the
object caching using your preferred backend. This post has a file
based backend and links to the other common ones:
http://neosmart.net/blog/2008/file-based-extension-to-the-wordpress-object-cache/

--
Chris Scott
http://iamzed.com/
http://hailtheale.com/

>
> -----Original Message-----
> From: wp-hackers-bounces at lists.automattic.com
> [mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Michael Pretty
> Sent: Friday, December 11, 2009 11:54 AM
> To: wp-hackers at lists.automattic.com
> Subject: Re: [wp-hackers] WP_Object_Cache problem
>
> Actually, WP Super Cache isn't an object cache.  WP Super Cache just
> stores rendered output in a static file.  For object cache you'll need a
> plugin like batcache and have to setup something like memcached on the
> server.
>
> Austin Matzko wrote:
>> On Fri, Dec 11, 2009 at 10:42 AM, Brad Williams <bradw at illiams.com> wrote:
>>
>>> But I'm having problems getting it to work across page loads.
>>>
>>
>> Non-"transient" caching will not persist across page loads unless
>> you're using some sort of caching plugin, such as WP Super Cache.
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list