[wp-hackers] transients API and removing stored results
Christopher Ross
cross at thisismyurl.com
Thu Mar 3 13:27:22 UTC 2011
Andrew, would I be right to assume that the post_meta will be destroyed when the wp_delete_post() is triggered as well?
On 2011-03-03, at 9:11 AM, Andrew Nacin wrote:
> One, I would cache this to postmeta instead of using transients. They're
> tied to posts, so it works from an implementation perspective. Assuming an
> object cache is leveraged, you're not even hitting the database, but note
> that postmeta is already queried for posts in the loop, so you're not really
> running into performance issues either.
__
Christopher Ross
Online Portfolio - http://christopherross.ca
Personal Blog - http://thisismyurl.com
Fredericton - 506.238.4461
San Diego - 858.201.4912
More information about the wp-hackers
mailing list