Opened 7 months ago
Last modified 4 months ago
#22176 new enhancement
Cache the results of the posts_request_ids query
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Cache | Version: | 3.4.2 |
| Severity: | normal | Keywords: | |
| Cc: | scribu, batmoo@…, johnbillion, aaroncampbell |
Description (last modified by ryan)
We are to the point where we could replace the advanced post cache plugin with something in core that is far simpler. We're most of the way there since introducing the split query. And with #22024 we have a good way of doing per-blog cache invalidation for classes of objects, which would be needed by this. Leveraging wp_cache_get_multi() as suggested in #22174 would provide a complete replacement for the adv post cache plugin. http://plugins.svn.wordpress.org/advanced-caching/trunk/advanced-caching.php
Attachments (3)
Change History (10)
comment:4
johnbillion — 7 months ago
- Cc johnbillion added
Add context arg to clean_post_cache(). Don't update last_changed for certain contexts.
A parent deletion could hypothetically change a query that is based on post_parent, or eventual post_parent_in / not_in, child_of, exclude_tree query variables.
comment:7
aaroncampbell — 4 months ago
- Cc aaroncampbell added

The gist