[wp-trac] [WordPress Trac] #55270: Option can_compress_scripts not autoload causing extra DB query on every request

WordPress Trac noreply at wordpress.org
Tue Jun 20 10:46:08 UTC 2023


#55270: Option can_compress_scripts not autoload causing extra DB query on every
request
--------------------------------+---------------------------
 Reporter:  RavanH              |       Owner:  spacedmonkey
     Type:  defect (bug)        |      Status:  reopened
 Priority:  normal              |   Milestone:  6.3
Component:  Options, Meta APIs  |     Version:
 Severity:  minor               |  Resolution:
 Keywords:  needs-patch         |     Focuses:  performance
--------------------------------+---------------------------

Comment (by azaozz):

 Replying to [comment:21 spacedmonkey]:
 > Awaiting feedback from @azaozz, otherwise I will close.

 Uhh, I wanted to investigate the reason this code bypasses the fallback in
 `update_site_option()` to `update_option()` on single sites, and
 eventually either fix similar cases (think there are few more in core) or
 open a ticket to fix the fallback behavior.

 Unfortunately haven't had any time for that yet. Lets keep this open for a
 bit longer so it doesn't "fall off the radar".

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55270#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list