[wp-trac] [WordPress Trac] #37040: Enhancement: new function to validate a transient exists, and isn't expired without extra query
WordPress Trac
noreply at wordpress.org
Tue Jan 28 15:56:35 UTC 2025
#37040: Enhancement: new function to validate a transient exists, and isn't expired
without extra query
-------------------------------------------------+-------------------------
Reporter: danieliser | Owner: pbearne
Type: enhancement | Status: assigned
Priority: normal | Milestone: 6.8
Component: Options, Meta APIs | Version: 4.6
Severity: normal | Resolution:
Keywords: has-patch needs-testing has-unit- | Focuses:
tests needs-dev-note | performance
-------------------------------------------------+-------------------------
Comment (by pbearne):
Replying to [comment:9 johnbillion]:
> These functions won't work when a persistent object cache is in use.
What can be done about that?
Can we make a cache call to see if we have value as part of the cache?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37040#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list