[wp-trac] [WordPress Trac] #56990: Render blocking CSS `classic-themes.css` unnecessarily enqueued
WordPress Trac
noreply at wordpress.org
Tue Feb 7 23:01:59 UTC 2023
#56990: Render blocking CSS `classic-themes.css` unnecessarily enqueued
-------------------------------------+-------------------------------
Reporter: adamsilverstein | Owner: flixos90
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.2
Component: Themes | Version: 6.1
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: css, performance
-------------------------------------+-------------------------------
Comment (by flixos90):
Thanks @patrickmeenan for the additional feedback! There isn't really a
precedent here, but one thing we cannot do is incorporate those styles in
the main stylesheet, as it is externally controlled by whichever WordPress
theme is currently active. So it needs to be separate unfortunately.
@wpgurudev @scruffian Based on the above feedback, while the performance
difference is negligible, I'd still lean towards inlining it for slightly
more benefit. The performance test from
https://core.trac.wordpress.org/ticket/56990#comment:29 doesn't show a
clear benefit in either direction, as we have to consider the variance
between test runs is considerable.
That being said, it's also safe to say it's not a high priority issue to
address in terms of performance.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56990#comment:39>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list