Reducing database queries
-
Hi,
I have a custom post type (‘faculty_profile) and a custom taxonomy (‘departments’). On a page that lists all of the faculty profiles, it groups them by department. That page generates approximately 600-700 database queries. Given the large number of queries, I am pretty sure there are ways I can make the page more efficient. Do you have any ideas?
My code:
[Code moderated as per the Forum Rules. Please use the pastebin]
What am I doing wrong?
Thanks.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Reducing database queries’ is closed to new replies.