[wp-trac] [WordPress Trac] #53170: Reduce the transient size of WordPress Events and News feeds

WordPress Trac noreply at wordpress.org
Wed May 26 14:30:01 UTC 2021


#53170: Reduce the transient size of WordPress Events and News feeds
-----------------------------+------------------------------
 Reporter:  lucasbustamante  |       Owner:  (none)
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Widgets          |     Version:  5.7.1
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  performance
-----------------------------+------------------------------

Comment (by lucasbustamante):

 It's also worth nothing that the developer that implemented the "Dashboard
 Widget" probably took the conscious decision of using the existing RSS
 feed, knowing it would only need a small fraction of the data, to make one
 request and cache the data for both the "Dashboard Widget" and the "RSS
 Widget/Block".

 However, given that the "RSS Widget/Block" is rarely used, this
 optimization brings way more harm than benefits, since it has to fetch the
 huge feed on every request. In that sense, the "Dashboard Widget" should
 have it's own transient, to store only the information it needs.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53170#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list