How to reduce uncached page generation time?

there is no simple general answer for this, as it depends on what is causing the issue. Best way is to check your page using some Insights tool: They will tell you where the issue is. Big images are commonly a big issue – there are many converters to WebP format, that will … Read more

How can I update a value of a field depending on outside source?

you can read your file using standard PHP: $value = json_decode( file_get_contents( ‘path/to/your/file.json’ ) ); Then you can use WordPress function to update post meta: update_post_meta( $post_id, $meta_name, $value, $prev_value ); $post_id = ID of the post you want to update $meta_name = name of the meta field you want to update $value = new … Read more