[wp-trac] [WordPress Trac] #18314: Merge admin CSS files and remove duplicates

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 1 21:07:39 UTC 2011


#18314: Merge admin CSS files and remove duplicates
-------------------------+------------------
 Reporter:  azaozz       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.3
Component:  Performance  |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------
Description changed by azaozz:

Old description:

> Looking through wp-admin/css we have large amount of stylesheets that
> aren't optimized neither for loading nor for maintenance/consistency.
>
> Generally we have two options: either to break our CSS into smaller
> chunks of dependent styles and load different amount on each screen or to
> "globalize" it all into wp-admin.css.
>
> The second option would be (quite?) better for faster loading. Currently
> we concatenate and compress the admin css but since the files are
> different for most screens, the concatenated file has to be downloaded
> each time. If all admin styles are in one file it will be cached by the
> browser after the first time (in memory) and all subsequent loads will be
> faster.

New description:

 Looking through wp-admin/css we have large amount of stylesheets that
 aren't optimized neither for loading nor for maintenance/consistency.

 Generally we have two options: either to break our CSS into smaller chunks
 of dependent styles and load different amount on each screen or to
 "globalize" it all into wp-admin.css and wp-admin-rtl.css.

 The second option would be (quite?) better for faster loading. Currently
 we concatenate and compress the admin css but since the files are
 different for most screens, the concatenated file has to be downloaded
 each time. If all admin styles are in one file it will be cached by the
 browser after the first time (in memory) and all subsequent loads will be
 faster.

--

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18314#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list