[wp-meta] [Making WordPress.org] #4179: Prevent templates from loading Dashicons library twice
Making WordPress.org
noreply at wordpress.org
Fri Feb 15 14:42:29 UTC 2019
#4179: Prevent templates from loading Dashicons library twice
----------------------------+-------------------------------
Reporter: jonoaldersonwp | Owner: (none)
Type: defect | Status: new
Priority: low | Milestone:
Component: General | Keywords: speed/performance
----------------------------+-------------------------------
Some templates load two versions of the dashicons library, which impacts
performance.
The homepage, and some other templates (e.g.,
https://wordpress.org/support/), make a call to //s.w.org/wp-
includes/css/dashicons.min.css?20181204 in the header.
Some templates (plugins, themes) enqueue https://wordpress.org/support/wp-
includes/css/dashicons.min.css?ver=5.2-alpha-44746.
Some templates load ''both'' versions, e.g.,
https://wordpress.org/support/
We should make this consistent, and only load one. I suggest de-enqueing
the resource everywhere, and leaning on the 'hard-coded' call in the
homepage/main header file.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/4179>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list