-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Still generating a lot of get_term_by queries #12
Comments
Ok, perhaps cleaner, I'm trying something based of VIP's cached get_term_by. Not getting the result I was hoping for yet.
|
Cool. Looks like it's working |
wpsmith
added a commit
that referenced
this issue
Jun 24, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm thinking get_term_by (used for do_more_from_category() on widget.php:650 ) should perhaps be cached.
Found this Automattic/Edit-Flow#235 which seems like a useful example.
Is it worth writing a caching wrapper function for get_term_by like they did? I might give repurposing their code a go for this to see if it helps.
The text was updated successfully, but these errors were encountered: