A more optimized way than exclude_posts_from_xml_sitemaps()
-
Hello there,
I’m wondering if you have something that is a bit more optimized – like you cache rewrite urls in a separate table.
Right now
exclude_posts_from_xml_sitemaps()
triggers with every single sitemap.xml load, and I’m dealing with 20-30K IDs that I have to pull from the database and feed to your function in array format. While it’s not necessarily user-facing I still would like to hammer my server less.Any options?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘A more optimized way than exclude_posts_from_xml_sitemaps()’ is closed to new replies.