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

WordPress Trac noreply at wordpress.org
Fri May 12 17:50:28 UTC 2023


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

Comment (by azaozz):

 Replying to [comment:8 spacedmonkey]:
 > @azaozz I think that is another for ticket that. This is a simple fix
 that can go out in the next release.

 Sure, it makes sense to switch the option to not autoloading and close
 this ticket. I'll open another ticket for removing the rest of that code.

 Not so sure about the rest of the changes though, they look like an
 enhancement of a unused feature that is going to be removed soon?

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


More information about the wp-trac mailing list