[wp-meta] [Making WordPress.org] #5602: Dequeue /wp-includes/css/dist/block-library/style.min.css

Making WordPress.org noreply at wordpress.org
Fri Feb 5 10:19:03 UTC 2021


#5602: Dequeue /wp-includes/css/dist/block-library/style.min.css
----------------------------+-------------------------
 Reporter:  jonoaldersonwp  |      Owner:  (none)
     Type:  defect          |     Status:  new
 Priority:  low             |  Milestone:
Component:  General         |   Keywords:  performance
----------------------------+-------------------------
 The block library default stylesheet loads on every page throughout
 wordpress.org, but is only used in a small number of locations.

 This impacts performance across the site, and has a not-inconsiderable
 carbon cost.

 The file should be dequeued, and only enqueued conditionally when blocks
 are present/used (or, more bluntly, by template if that's easier to
 implement)

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/5602>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list