This page redirects to an external site: https://developer.wordpress.org/reference/functions/update_post_cache/
Updates the cache for each post passed in.
NOTE: despite name, it does not take a single post object or ID; it takes only an array of post objects.
<?php update_post_cache( $posts ); ?>
This function does not return a value.
update_post_cache() is located in wp-includes/post.php.
Post Cache Functions: clean_post_cache(), update_post_cache(), update_post_caches(), update_postmeta_cache()