[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 May 23 16:29:03 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 spacedmonkey):
@flixos90
500 runs, on 2013 theme
|| || Trunk || PR ||
|| Response Time (median) || 111.59 || 111.3 ||
|| wp-load-alloptions-query (median) || 0.63 || 0.64 ||
|| wp-before-template (median) || 24.2|| 23.9 ||
|| wp-before-template-db-queries (median) || 3.26|| 3.24 ||
|| wp-template (median) || 78.62|| 78.59 ||
|| wp-total (median) || 103.76|| 102.76 ||
|| wp-template-db-queries (median) || 16.75|| 16.78 ||
Not a massive server response time improvement, but it is an improvement
to database performance, as it removes a database query for EVERY page
request, even REST API request.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55270#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list