Make WordPress Core

Opened 3 years ago

Last modified 2 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: needs-patch
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 (5)

#1 @webaware
3 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).

#2 @nacin
2 years ago

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

#3 @jeremyfelt
2 years ago

  • Focuses multisite added

Related #26929

#4 @DavidAnderson
19 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).

#5 @chriscct7
2 months ago

  • Keywords needs-patch added
Note: See TracTickets for help on using tickets.