Closed tobimori closed 5 months ago
Thanks for bringing this to my attention. The sitemaps are quite intensive as they are querying and filtering a bunch of data. Offloading to a queue sounds like a feasible feature request. For now, I suggest increasing the memory limit.
Currently, when rendering the sitemap on our Statamci site with a default memory limit of 128M and around 450 pages across all languages in two collections, all requests fail with a memory limit error.
It'd be great if there was a way for sitemap generation to be "off loaded" in the background (e.g. in a queue worker on changes) instead of being on demand so we can avoid setting a high memory limit.