[wp-trac] [WordPress Trac] #36906: Comment caches should be persistent
WordPress Trac
noreply at wordpress.org
Wed Jun 1 20:51:54 UTC 2016
#36906: Comment caches should be persistent
------------------------------------------+--------------------------
Reporter: boonebgorges | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Comments | Version: 2.2
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses: performance
------------------------------------------+--------------------------
Comment (by ryan):
> It's likely that there are many places where we don't bother
invalidating because the cache only lasts for the page load.
Exactly. Back when, the comment (and counts) groups didn't have the
invalidation needed to allow them to persist beyond a page load. We made
do with using non-persistent cache to reduce duplicate queries. I don't
recall exactly what invalidation what was missing. Lots of changes (with
which I'm out of touch) have happened since, so maybe this is ready to
become persistent.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36906#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list