[wp-trac] [WordPress Trac] #53170: Reduce the transient size of WordPress Events and News feeds
WordPress Trac
noreply at wordpress.org
Wed May 26 13:06:19 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):
Replying to [comment:8 Mte90]:
> Seems a good solution, but this means that we need to open a ticket to
https://meta.trac.wordpress.org/ to do that change that in this way will
be retrocompatible but all the previous WP will use the other endpoint.
The "Dashboard Widget" also consumes this feed
https://planet.wordpress.org/feed/ on line
https://github.com/WordPress/WordPress/blob/master/wp-
admin/includes/dashboard.php#L1543
What do you think we try to map exactly the content used by the "Dashboard
Widget" at first, like:
News feed: Title, Link, last 5 items only
Planet feed: Title, Link, Location, Date/Time last 3 items only
[[Image(https://i.imgur.com/zVIXRwF.jpg)]]
Once we know for sure exactly what the "Dashboard Widget" needs to work
properly, we open a ticket at Meta to allow a URL to feed only the
necessary information to that widget, to make it more efficient. The feed
for the "Dashboard Widget" would probably need to be stored as a dedicated
transient only for that widget, as opposed to the shared transient with
the RSS feeds. I think this makes more sense, as the RSS widgets are far
less used anyway.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53170#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list