Open sirolad opened 3 years ago
You've well analysed the situation. Sitemap sections are only removed during full dump.
The incremental dump feature cannot remove any section because there is no guarantee that a particular section is not filled somewhere else...
We will need some code to make this possible. So far I see 2 possibilities :
Description
Sometimes there is a need to clean up sections that are no longer relevant in the sitemap index. Creating a dump of all sections might not be feasible as this might time out. Is there a way to do this already or it would be better to create a flag to do this such that when next I run the command the section flag, I only get sections that are relevant only?
Example