2
1

When loading a standard OSQA page, there are about twenty icons in /m/default/media/images/ loaded. Loading this many small objects can adversely affect performance and increase latency.

Could we use CSS Sprites instead a lot of little image files?

asked 30 Jun '10, 03:41

Joseph's gravatar image

Joseph
1.6k387172
accept rate: 36%


Yes, we can, but not while we don't have a definitive set of icons and images. CSS sprites are a pain to maintain, you add a new icon and lose a bunch of time redoing everything, for example, the user menu icons use a sprite, but since then, two new items have been added (for superusers) but those were left without an icon for now.

link

answered 30 Jun '10, 06:07

Hernani%20Cerqueira's gravatar image

Hernani Cerq... ♦♦
16.8k65975
accept rate: 52%

edited 30 Jun '10, 11:38

Rich%20Seller's gravatar image

Rich Seller
1.8k154047

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×15
×14
×5
×1
×1

Asked: 30 Jun '10, 03:41

Seen: 630 times

Last updated: 30 Jun '10, 11:38

powered by OSQA