You should use an object cache, it will definitely speed up the get_post_meta queries as they will be cached when doing the initial WP_Query (get_posts).
I recommend testing with APC cache, using the APC Object Cache Backend : https://wordpress.org/plugins/apc/
Just drop the file in your wp-content folder and make sure you have APC extension available.
Related Posts:
- meta_query: using BETWEEN with floats and/or casting to DECIMAL
- WP Query post meta value
- Woocommerce: order posts by meta key
- When should you use WP_Query vs query_posts() vs get_posts()?
- When to use WP_query(), query_posts() and pre_get_posts
- How to only display posts whose meta_value field is not empty?
- Can wp_query return posts meta in a single request?
- order by numeric value for meta value
- How do I query for posts by partial meta key?
- Use REGEXP in WP_Query meta_query key
- WordPress retrieving meta data for all custom post types in list view
- How to use the_posts_navigation for wp_query and get_posts?
- WP_Query vs get_posts
- Order by optional meta key?
- Get posts from Network (Multisite)
- How to order by post_status?
- Using get_posts vs. WP_Query
- Delete all posts from WordPress except latest X posts
- Reduce or prevent calling of update_meta_cache
- Is there a way to extend WP_query so Custom Post Types can have properties?
- Sanitation needed for WP_Query or get_posts calls?
- Differences Between WP_Query() and get_posts() for Querying Posts?
- What is the most efficient way of querying posts based on visits and date for current day?
- Get Recent Posts by Date in Multisite
- get_posts with multiple categories
- get_template_part in for loop
- Use of caller_ get_ posts
- Getting attachments by meta value
- WP_Query displaying ALL posts
- How-to exclude terms from the main query the most performant way?
- Is it possible to select against a post’s parent’s fields with WP_Query?
- Query all posts where meta value is empty
- meta_query where value is equal to given value
- Query Custom Meta Value with Increment
- WP-CLI How to generate a list of posts with corresponding meta values
- Get posts by meta data OR title
- Get_post() with meta_key when compare is a date
- get_posts not finding argument: post_name
- Meta Query with date and time on the same Day before given time
- Get posts with condition on comment meta value
- What is an efficient way to query based on post_meta?
- WP_Query not working as expected for attachments and custom meta_query
- Function to check if author has posted within the last x days
- How to count post meta key values for all posts in database
- Use post__in and post__not_in together?
- Group posts by meta_key
- What should I use, get_posts or wp_query for less CPU load?
- How should I use posts_where to change meta_value from a string to integer?
- Different Results with query(‘s=computer’) vs get_posts(‘s=computer’)?
- How to get post from all Blog Multisite to the Main Site?
- How can I create a WP_Query that returns posts where one meta_value
- WordPress altering my custom query, How to fix it?
- WP Meta Query for some meta (array) values
- Get all posts without tags
- Would this post meta be better added to the post table rather than post_meta table
- Custom URl parameter
- query posts in functions.php and update a field
- get_posts() seemingly ignoring post_type
- Compile meta values from custom loop into array and then calculate sum total
- Can not switch the queried post in pre_get_posts hook
- How to get sum of meta_values of a meta_key in wp_query according to conditions
- how to fire join query with post_meta
- How to find out what “Blog pages show at most” is set to [duplicate]
- Count posts returned by get_posts in external PHP script
- Best approach to create Hot and Trending sections
- WP_Query, custom sort and custom filter
- Trying to check and see if a post has a featured image outside of the main loop
- WP_query category__in not working, only pulls from first category
- Order posts by meta value and Date
- SELECT * FROM $wpdb->posts WHERE ID > 160
- Efficient way to update multiple post meta
- How to make orderby ‘meta_value_num’ OPTIONAL?
- Query Posts depends on custom field inside repeater field using acf
- Adding multiple post queries with parent and children to page – Best Way
- How do you Query posts with nothing in common?
- Query post with meta_query where date is not in future
- WP_Query, tax_query and term_meta: How to?
- Minimising Database Queries when using Advanced Custom Fields
- Get posts for last working week in WP_Query
- Get meta info related to current post
- Select from wp_post and multiple meta_value from wp_postmeta
- Pull post meta with post_query?
- get_posts – get all posts by array of author
- Create a sitemap without a plugin – get parent pages only?
- Creating a custom search for a specific post type
- Group WP_Query by meta_key date
- get_posts – find out if querystring was crap and fallback is used
- WP_query posts closest to todays date
- Get posts for which a custom field is not present, with get_posts
- Creating query to show which editor (classic or block) was last used to edit a post/page
- get_posts() not working with multiple statuses
- exclude posts with a specific custom field and value
- Inserting serialized value into wp_postmeta using update_post_meta
- Return only post(s) which have post_excerpt
- How to make Meta Query case sensitive?
- Performance when getting post meta for post retrieved by meta value
- Return Taxonomy/Term Information with Posts (WP_Query/get_posts)
- Get attachment by meta_key value
- Display custom field meta outside loop, site wide
- Help with WP_Query – Too many mySQL queries