Make WordPress Core

Opened 3 years ago

Last modified 15 months ago

#22846 new defect (bug)

Site transient autoload even when they have expiry time

Reported by: mark-k Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.4.2
Component: Options, Meta APIs Keywords:
Focuses: multisite, performance Cc:


I guess set_site_transient should set autoload to NO after calling add_site_option when there is expiration time.

As far as I can see the all of the site transients right now are used only by cron and admin so no reason to auto load

Change History (4)

comment:1 @webaware2 years ago

Problem still exists in 3.5.1, meaning all site transients are autoloaded on every page on every site. This includes such broadly useful things as the 'browser_' site transients (only used by wp_check_browser_version() in the dashboard).

comment:2 @nacin21 months ago

  • Component changed from Performance to Options and Meta
  • Focuses performance added

comment:3 @jeremyfelt21 months ago

  • Focuses multisite added

Related #26929

comment:4 @DavidAnderson15 months ago

This problem still exists in 3.9.1.

I was researching why BruteProtect's (http://wordpress.org/plugins/bruteprotect) transients were set to auto-load - a potentially serious performance issue, given the nature of that plugin (one transient created per IP address trying to log in).

Note: See TracTickets for help on using tickets.