[wp-hackers] WP_Object_Cache and integration with bbPress

Michael D Adams mikea at turbonet.com
Fri Jan 4 07:58:09 GMT 2008


On Jan 3, 2008, at 11:49 PM, Peter Westwood wrote:
> Matt Mullenweg wrote:
>> Michael D Adams wrote:
>>> But other sites (I think only a few sites) will *not* have a
>>> unified user base for their WordPress and bbPress installs.  Let's
>>> take WordPress.org as an example.  There, WordPress and bbPress do
>>> not share the same user table.  Since it's different data, we have
>>> to store it in different places.
>>
>> Wouldn't that be the responsibility of the cache configuration, not
>> you? I shouldn't configure two different programs to use the exact
>> same cache if they have different data for the same keys. Seems like
>> an edge case.
>>
> Should we not switch the caches to use the table names is all places?
>
> Do you not then get integration for free when the table names are the
> same.
>
> This could also help avoid clashes between two WordPress blogs using
> the same backend.

That's a very clever idea :)

It would require core changes in WP in more places than my original  
proposals, but it makes sense to me.

--mdawaffe


More information about the wp-hackers mailing list