[wp-trac] [WordPress Trac] #55969: The function set_transient should have the autoload argument

WordPress Trac noreply at wordpress.org
Sun Jun 12 14:28:53 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:  Database     |    Version:  6.0
 Severity:  normal       |   Keywords:
  Focuses:  performance  |
-------------------------+-----------------------------
 The function set_transient should have an argument to decide if a specific
 transient should be autoloaded or not so.
 At the moment every transient that is set with the function set_transient
 is autoloaded.
 Not all the transients have the need to be autoloaded. For example, many
 times transients that are used only in the backend don't need the
 autoload, but they slow down the frontend in some cases.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55969>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list