Sommaire

Don’t use sprites

http://css-tricks.com/css-sprites/
http://www.mobify.com/blog/data-uris-are-slow-on-mobile/?utm_source=twitter&utm_medium=social&utm_content=920329
=> nawak door (comparison of hidden images (not even in localstorage) and inline images)
http://bbinto.wordpress.com/2013/05/02/performance-check-the-weight-of-cbcs-logo-as-pure-css-data-uri-and-simple-png/

One of the techniques raised for speeding up websites is doing some sprites. Sprites are hard to do, unmaintanable, don’t use them (or use them with a carefully crafted process)

What is a sprite

Why using a sprite

How to use a sprite

Why it fails

Automatic spriting ?

Like concatenation, very hard to find the right combination that work for the most of the pages.

Use something else

Spriting is a rule that fall in the category “make less requests”.
So you can use these rules instead :
– lazyloading

  • inlining
    (for above the fold images and not cached images or for mobile)
Table of contents
Get a free diagnosis of your site's loading times!

Published by

Partagez !

Discover other articles…

3D illustration of an AI agent connected to a web interface and several digital elements, symbolising machine understanding, automation and website optimisation for intelligent agents.

AI agents are changing the way websites need to be designed. To remain visible, understandable and actionable, high-traffic websites must strengthen their fundamentals: semantic HTML,

Illustration of an llms.txt file connected to a website structure and several AI agents, representing content organisation for artificial intelligence systems.

Lighthouse now audits the presence of an llms.txt file. It will not boost your Google SEO, but it helps AI agents understand your website’s structure,

smart INP

Web performance is essential for delivering an optimal user experience. Any slowness can lead to users abandoning their browsing session or shopping cart.

Boost your site speed now with EdgeSpeed!