Improving WP_Query for performance when random posts are ordered
The problem with orderby rand is that on most setups the database will load all posts into memory, then randomly order them, and return what you asked for. It’s that loading into memory that makes the query super slow/expensive Also yes, terms are individual categories and tags, where category is a taxonomy, and the ‘development’ … Read more