Log in

View Full Version : Sprite Image



oye
12-16-2009, 09:49 AM
hi

I am using sprite image in my website is it better use r not

If not why so ?

codeexploiter
12-16-2009, 11:56 AM
CSS sprites are very good as they allow to avoid multiple image loading requests. This in turn will improve the performance of your web page loading. I mean your site will make a single image request (for sprite image) instead of making a number of requests.

Lots of good documentation are available about this technique:

Yahoo's Best Practices for Speeding Up Your Web Site (http://developer.yahoo.com/performance/rules.html)
The Mystery Of CSS Sprites (http://www.smashingmagazine.com/2009/04/27/the-mystery-of-css-sprites-techniques-tools-and-tutorials/)
CSS Sprites (http://www.alistapart.com/articles/sprites)

Hope this helps

oye
12-17-2009, 06:54 AM
CSS sprites are very good as they allow to avoid multiple image loading requests. This in turn will improve the performance of your web page loading. I mean your site will make a single image request (for sprite image) instead of making a number of requests.

Lots of good documentation are available about this technique:

Yahoo's Best Practices for Speeding Up Your Web Site (http://developer.yahoo.com/performance/rules.html)
The Mystery Of CSS Sprites (http://www.smashingmagazine.com/2009/04/27/the-mystery-of-css-sprites-techniques-tools-and-tutorials/)
CSS Sprites (http://www.alistapart.com/articles/sprites)

Hope this helps

my sprite image is of 84 Kb and it is taking request for 15 times what is the problem and due to this my page is loading slow ....