Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate sitemap for a huge collection #125

Closed
denisjankovic opened this issue Jul 4, 2023 · 6 comments
Closed

Generate sitemap for a huge collection #125

denisjankovic opened this issue Jul 4, 2023 · 6 comments
Labels
bug Something isn't working
Milestone

Comments

@denisjankovic
Copy link

I'm looking to generate a sitemap for collection with 35000 pages, when I add it to the sitemap plugin configuration, the plugin craches and don't want to generate the sitemap.

@boazpoolman
Copy link
Member

Thanks for reporting this issue @denisjankovic.

I've been working hard on improving performance the past few weeks.
I'll release a new major version (3.0.0) soon which includes all these fixes.
I've tested that new version myself with 50.000 URLs and that worked fine.
I'm aware of the current release (2.0.11) being very bad in terms of performance of large sitemaps.

You could try out this new version by pulling the repo.
Otherwise please be patient for the new major release.

@boazpoolman boazpoolman added this to the 3.0.0 milestone Jul 4, 2023
@boazpoolman boazpoolman added the bug Something isn't working label Jul 4, 2023
@denisjankovic
Copy link
Author

Thank you for the fast answare. I will wait for the next release, do you know when you will release it ?

I have an other question, can we have later a feature to create multiple sitemap files and group them all in one ?
Example :

  • web_pages_1.xml
  • web_pages_2.xml
    etc
    And then group them all in a global one ?

Thanks a lot for you answare.

@boazpoolman
Copy link
Member

I'm waiting for the next release of Strapi to release v3.
I hope that'll be tomorrow.

About your question:
In version 3 you can split your sitemap into chunks and group them together in a sitemap index.
See issue #66

Is that what you're looking for?

@denisjankovic
Copy link
Author

Yes, it's exactly what I'm looking for. Thanks a lot, I'll just wait for the new release.
Best regards,

@boazpoolman
Copy link
Member

I'll keep you posted.

@boazpoolman
Copy link
Member

Hi @denisjankovic

Just letting you know that I've just released version 3.0.0 of the Sitemap plugin.

It would be amazing if you could test out that version and see if you are able to generate the sitemap with 35.000 URLs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants