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

WordPress Trac noreply at wordpress.org
Fri May 7 19:35:36 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):

 I've also benchmarked this on a clean WordPress with external requests
 enabled and the "WordPress News and Events" widget removed with
 `remove_meta_box('dashboard_primary', get_current_screen(), 'side');`.

 The resulting database export is **76kb** in size.

 The events portion of that widget is fairly small, the bulk of the data
 comes from the News that show up below, which includes an unnecessary
 excerpt of each article in their payload, where the widget only displays
 the title and the link.

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


More information about the wp-trac mailing list