[wp-trac] [WordPress Trac] #42441: Disable autoload for large options
WordPress Trac
noreply at wordpress.org
Thu Dec 7 21:36:45 UTC 2023
#42441: Disable autoload for large options
-------------------------------------------------+-------------------------
Reporter: markjaquith | Owner: pbearne
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.5
Component: Options, Meta APIs | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests 2nd- | Focuses:
opinion | performance
-------------------------------------------------+-------------------------
Comment (by azaozz):
Replying to [comment:21 pbearne]:
> Or we can just block all large options from autoloading
Ummm, that would be a huge performance loss for options that are used
often. The additional trip to the DB may be hundreds of times slower.
Already mentioned this on the PR, thinking this would need a good amount
of performance testing with different scenarios:, mostly what happens when
autoload is turned off for big option that is used on every page load,m or
on every second page load, etc.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42441#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list