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 to use WP_query(), query_posts() and pre_get_posts
- How to only display posts whose meta_value field is not empty?
- WP_Query vs get_posts
- Order by optional meta key?
- Get posts from Network (Multisite)
- Reduce or prevent calling of update_meta_cache
- Sanitation needed for WP_Query or get_posts calls?
- What is the most efficient way of querying posts based on visits and date for current day?
- Get Recent Posts by Date in Multisite
- Use of caller_ get_ posts
- How-to exclude terms from the main query the most performant way?
- Query all posts where meta value is empty
- WP-CLI How to generate a list of posts with corresponding meta values
- 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
- How to count post meta key values for all posts in database
- 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?
- 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
- WP Meta Query for some meta (array) values
- query posts in functions.php and update a field
- get_posts() seemingly ignoring post_type
- Can not switch the queried post in pre_get_posts hook
- how to fire join query with post_meta
- Count posts returned by get_posts in external PHP script
- SELECT * FROM $wpdb->posts WHERE ID > 160
- Query Posts depends on custom field inside repeater field using acf
- Adding multiple post queries with parent and children to page – Best Way
- WP_Query, tax_query and term_meta: How to?
- Minimising Database Queries when using Advanced Custom Fields
- Pull post meta with post_query?
- get_posts – get all posts by array of author
- Creating a custom search for a specific post type
- get_posts() not working with multiple statuses
- 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
- WP_Query() and get_posts() can’t handle over a thousand posts?
- how to make members list directory through wordpress post custom meta key.
- How do I query for posts by partial meta key?
- WP_Query post_parent parameter always returns children of current page
- New WP_Query loop in admin causes problems
- echo a specific meta_key queried through a custom post
- How to increase load time of an archive/search page (WP_Query)
- How to show more post at a given category?
- Which is faster wpdb & get_row or wp_query & ge_post_meta?
- Hide posts with meta key in WP_Query
- WP_Query – Accessing MetaValue from Query Result
- get_posts output always same post
- Use WP_Query or query_posts() or get_posts() for optimizing a site?
- Specify strict ‘order by’ in WordPress query
- get_posts() and global variables
- search serialised meta_value for date value?
- How I can change the condition or compare operator for WP_Query in pre_get_posts
- Using get_posts to get posts based on a checkbox value with Advanced Custom Fields
- Order WP_Query results by meta key value in custom query
- Nested array issue in meta_query
- How to get posts by category and by choosing a taxonomy term?
- Function using get_posts() with tax_query not working when called from functions.php
- Search for pages with permalink
- Execute PHP function inside the admin area
- Prioritising and Ordering Posts By Category Name Using A Custom Loop
- Why my query is not “Main_query”?
- Facing problem with tax_query results
- Populate select list with meta values from all posts of a Custom Post Type
- Form checkbox value going to dynamic URL
- show most viewed post
- Display posts from multiple value in meta separated by comma
- get_posts return only first result
- Why can my filter query SOME metadata but not other metadata?
- How to get meta key list efficiently?
- how to get wp_query posts only first letter of alphabet A?
- update_post_meta performance in a loop woocommerce
- update_post_meta performance in a loop woocommerce
- How to set meta_query if get_post_meta returns nested array for that key? [duplicate]
- I need query_posts() to order results first by a meta value and then by post ID
- get_posts query caching?
- Get posts with any value in attribute
- Ordering Posts by parent category, name ascending
- Use not custom fields in get_posts() meta_query?
- Mathematical operations on custom field values? (updated)
- How to get several fields from wp_query?
- Return a single custom post from multiple meta queries
- get_posts works but new wp_query doesn’t
- Why WP_Query in functions.php is not working when get_posts works?
- query by meta value then date and not empty meta value
- Query specific number of posts for each post type in specific order
- wordpress sorting using array merge by price in ascending order but price with 0 must be show last
- get_posts shows current post, not defined posts with args
- orderby and order filter in get_posts or WP_query function in wordpress not working
- Query custom post types by meta field in a term from custom taxonomy
- How to retrieve _embed (etc) fields in get_posts custom query?
- How to get posts that have certain meta key value and order based on another meta key’s value
- How to cache wordpress get_posts query using transients?