-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sitemap: Make sitemap storing more efficient by not querying the full…
… post content before saving (#39572) * Make sitemap storing more efficient but not querying the full post content when storing the sitemap This update tries to remediate a problem where the persistent object cache gets huge with data that we will not use in the end. We just need to get the id of the current sitemap post and if it exists, we update it. Before, we were using get_post and this polluted the cache running into OOM situations
- Loading branch information
Showing
2 changed files
with
31 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: patch | ||
Type: enhancement | ||
|
||
Make sitemap storing more efficient but not querying the full post content when storing the updated sitemap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters