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

Additional parameters for args WPSEO_Author_Sitemap_Provider::get_users #21791

Open
2 tasks done
yarovikov opened this issue Nov 4, 2024 · 1 comment
Open
2 tasks done

Comments

@yarovikov
Copy link

  • I've read and understood the contribution guidelines.
  • I've searched for any related issues and avoided creating a duplicate issue.

Please give us a description of what happened

Hi there. i have a large database with 1 million of users. Currently we have high server load related with author archives. I would like to add to speed up queries elastic search support here https://github.com/Yoast/wordpress-seo/blob/trunk/inc/sitemaps/class-author-sitemap-provider.php#L93. Is it possible?
Thanks

Used versions

  • Device you are using: nginx/1.22.0
  • Operating system: Linux 4.19.0-27-amd64 x86_64
  • PHP version: 8.3.10
  • WordPress version: 6.6.2
  • WordPress Theme: sage
  • Yoast SEO version: 23.7
@josevarghese
Copy link
Contributor

Hi @yarovikov

Thanks for using the Yoast SEO plugin. As you have more than 1 million users, have you tried enabling the sitemap caching on your website or for the users via some code to check whether it helps to reduce the requests?

If you have any ideas to improve the code or the generation of the sitemap, please let us know.

We look forward to hearing from you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants