Could take all the small images like help, permissions, configure, and fieldset collapse arrows and make into one sprite to cut down on http request.
Could take all the small images like help, permissions, configure, and fieldset collapse arrows and make into one sprite to cut down on http request.
Comments
Comment #1
sun.core commentedComment #2
sun.core commentedMoving "drupal.css" component issues to "markup".
Comment #3
jacineI don't know about this. It would make it harder on people to take a single image and modify it. Not sure if it's worth the trade off in this case since it's very few images are their use is scattered.
Comment #4
delmarr commentedHi Jacine, Your right it would be abit more complicated. My thinking was if drupal 7 was slower. Frontend performance could alleviate some of the pressure. This would be entirely for the drupal admin area, not sure how many themers alter the admin area...
thoughts?
Comment #5
jbrown commentedIts a very effective technique. YouTube do it: http://s.ytimg.com/yt/img/master-vfl149944.png
The images should be aggregated into a single file in an automated manner, a bit like css/js (but not on a page by page basis), but this is a very tall order. The css background-image coords would need to be generated.
There are 3rd party libraries that can do the image aggregation and then shrink it as much as possible.
Comment #6
jacineIt is a very tall (and ambitious) order. In addition to the getting this automated, Drupal's default markup isn't in a state in which sprites can be used everywhere, so it would mean markup changes in many places. :)
Comment #7
jbrown commentedIt could be part of the drupal.org packaging process.
Comment #8
jhedstromMarking as a duplicate of #565752: Core images (i.e. images in /misc) should use CSS sprites.