Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Option to disable sitemap generation on post create/update

$
0
0

Replies: 0

We have a wordpress site which have a lot of posts and custom posts. As of sitemap generation we used only post and pages to be included which counts for about 1500+ posts.
The problem we are facing is that, when ever we save a post, it takes almost 2 mins to complete that. And cause of that issue is the function get_images_from_post. This function is being called the number of times we have posts in our site which is taking a long time. It would have been great if there could be an option in settings to disable the sitemap generation on each post save and keep it to generate daily using cron job.
Our site is hosted on acquia and we don’t want to increase the max execution time. And after the WordPress update to WP5, gutenberg editor is giving errors as it is not able to receive a timely response.


Viewing all articles
Browse latest Browse all 59525

Trending Articles