I am operating a question (200-300 posts), whereas this won’t be for lots of people / hosts, I simply need to optimize wherever I can, given the truth that lots of issues occur when operating that individual script, and so, my motivation is optimization.
My question is strictly:
$args = [ 'post_type' => 'post', 'orderby' => 'ASC', 'post__in' => $post_ids ]; $headers = new WP_Query( $args );
So I am asking the database to only give me every thing that matches these IDs. However I do not want any meta data, no paging data, no counting of the posts, nothing, simply the uncooked posts, so I used to be considering of including
no_found_rows => true to the question.
Whereas this clearly speeds issues up, if I consider all of the
WP_Query I wrote by my system, I not often must know pagination or their rely.
Or do not I? When there is no pagination, how does the system know to go to the subsequent “batch”?
In different, easier phrases: is
no_found_rows => true vital when querying huge lists of posts the place you simply must learn about all of the posts in a given question?