Currently we are generating
SiteMap.xml on the Publishing end event (
publish:end:remote), this event taking some time to complete Publishing and this is causing the slowness. We using
Sitecore 9.0.1 Sitecore instance.
Here scheduler won't work as we need to create
.xml on the cd server.
Could you please suggest any best way we can generate a sitemap on CD server?.