[wp-trac] [WordPress Trac] #31277: Many WP Dashboard-only transients for 'browser version' set to autoload=yes in wp_options
WordPress Trac
noreply at wordpress.org
Mon Feb 9 23:40:17 UTC 2015
#31277: Many WP Dashboard-only transients for 'browser version' set to autoload=yes
in wp_options
--------------------------------+------------------------------
Reporter: archon810 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Options, Meta APIs | Version: 4.1
Severity: normal | Resolution:
Keywords: | Focuses: performance
--------------------------------+------------------------------
Changes (by dd32):
* component: Database => Options, Meta APIs
Comment:
As a recap of the rules we currently have
`set_transient()`:
- autoload = no, if it never expires
- autoload = yes, if it expires (as is the case of `browser_*` cached for
a week)
`set_site_transient()`:
- multisite: never autoloaded (it uses sitemeta, which only autoloads
specific options, the `theme_roots` transient being one of them)
- non-multisite; See `set_transient()`
It's also worth noting that most users should only ever really have one or
two `browser_*` rows, as most peoples browser UA doesn't change often. If
you have many different people accessing wp-admin with different browsers
though, it'll certainly add up.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31277#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list