[wp-trac] [WordPress Trac] #55969: The function set_transient should have the autoload argument
WordPress Trac
noreply at wordpress.org
Wed Sep 28 14:20:15 UTC 2022
#55969: The function set_transient should have the autoload argument
--------------------------------+------------------------------
Reporter: giuse | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Options, Meta APIs | Version: 6.0
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: performance
--------------------------------+------------------------------
Comment (by iandunn):
Related: #54221 is one example of where this might be useful in Core.
> Temporary values should definitely not be autoloaded, but permanent ones
can help save some time by being autoloaded.
The correlation between expiration of a transient and how many pages it's
used on isn't obvious to me; can you articulate it?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55969#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list