Make WordPress Core

Opened 3 years ago

Last modified 16 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)

#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
23 months ago

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

#3 @jeremyfelt
23 months ago

  • Focuses multisite added

Related #26929

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