[wp-trac] [WordPress Trac] #49446: cache the results of get_uploaded_header_images()
WordPress Trac
noreply at wordpress.org
Wed Sep 11 23:09:21 UTC 2024
#49446: cache the results of get_uploaded_header_images()
-------------------------------------+-------------------------------------
Reporter: pbiron | Owner: SergeyBiryukov
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 6.7
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit- | Focuses: administration,
tests changes-requested | performance
-------------------------------------+-------------------------------------
Comment (by flixos90):
Just left a review on the PR. It looks good so far in terms of caching
logic, but we'll need to also take care of invalidation. This is not
something where we should only rely on expiration of the transient, as
that would still mean we'd sometimes serve stale values for something that
is user-editable.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49446#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list