[wp-trac] [WordPress Trac] #32264: wp_enqueue_media() is slow on large sites
WordPress Trac
noreply at wordpress.org
Tue May 12 23:24:57 UTC 2015
#32264: wp_enqueue_media() is slow on large sites
----------------------------------------+------------------------------
Reporter: philipjohn | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 3.9
Severity: normal | Resolution:
Keywords: good-first-bug needs-patch | Focuses: performance
----------------------------------------+------------------------------
Changes (by johnbillion):
* keywords: good-first-bug has-patch => good-first-bug needs-patch
Comment:
None of the above patches don't work because they use a persistent
transient which is never flushed. When an audio/video file is uploaded,
the transient will contain a stale value.
These two transients should be flushed whenever an audio/video attachment
is uploaded or deleted.
Same goes for the month query which should probably be flushed whenever
any attachment is uploaded or deleted.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32264#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list