So, I’ve embarked on a new mini project. It is kind of inspired by image sprites.
Image sprites are a great idea, but come with a whole bunch of issues that make them a bit of a pain to work with.
Firstly, most of the time you have to use markup to create an element in html to “hold” the image you wanted to display from your sprite. This is because if you actually set a sprite as the background image for a large html element you’re likely to see other images in the sprite as well. Because of this, you actually lose useful functionality that CSS gives you, like the ability to position, repeat and scale an image. Also, the markup you’ve created to hold the image exists for style purposes, which is bad.
Secondly, sprites can be a massive ball ache to maintain. If you’ve closely packed your images in a sprite for maximum efficiency and then one of your images needs to change size, you’re either going to have to move ALL images surrounding the image you have to update (and obviously then change all background-position properties for the images you’ve moved) or leave a space and put the updated image in a new position in your sprite.
How do you know which images in a sprite are used and which ones are dead? Since your images are referenced by coordinates, this sort of clean up becomes a nightmare and is actually a bit lot of a nightmare to create image sprites in the first place.
The goals of the project are to
- Reduce the number of http requests (and their associated header traffic) to the server and hence reduce the time it takes to load all images on a website and bandwidth footprint the site requires
- Create a solution that’ll alleviate some of the problems surrounding the creation and use of image sprites
- Do something cool
The JSIO project website has a pretty good explanation of how it works so I won’t bore you with the details here. However, as a brief overview, it packages all your image data in data uri format and you reference particular images by their filename rather than their coordinates.
The site actually uses the HTML5 file api to generate your resources file for you, which makes creating and maintaining your JSIO “sprite” really really easy.
I read *somewhere* that data uri encoded images can be up to 1/3 larger than corresponding image files, however with gzip encoding they can be only 0-3% larger (or less). My thesis is that for a site with many small images, JSIO could be more efficient and easier to maintain than having separate files or even an image sprite.
…I’m yet to prove or disprove this and I’ll be conducting some tests whose results I’ll post up here (even if they do prove JSIO to be useless).
Disclaimer: This is the first ever ALPHA release of JSIO – it works on the latest Firefox and Chrome but I haven’t even checked it in IE yet. It probably won’t work in IE yet. Also, the website needs some work for optimal display on mobile devices.
online roulette mit paysafecard
My page: Casino 100 Euro Einzahlung Trustly
смета на ремонт квартиры образец Точный расчет пескобетона на стяжку пола гарантирует правильное соотношение компонентов в готовом растворе. Простой расчет пеноблоков на дом позволяет узнать необходимое число стеновых камней.
czy kasyno vavada jest legalne w polsceslot online polska kasyno online opinie kod promocyjny do total casino
https://gidromashin.com/product-category/zapchasti-k-gidronasosam/page/7/
betters bonus bez depozytugry na prawdziwe pieniД…dze kasyno online opinie darmowe spiny na walentynki
app sportwetten
Here is my webpage: basketball Wetten österreich
https://freudwiki.site/wiki/1xBet_1X200MIX
https://git.disroot.org/1xbetfreebets2
магнитный замок с картой доступа для двери
sportwetten gutscheincode ohne einzahlung
Feel free to surf to my blog; auf basketball wetten
nv casino bonus bez depozytu kodczy paypal jest bezpieczny kasyno online szybkie wypЕ‚aty free online casino games
https://stackoverflow.qastan.be/?qa=user/broevincent35
Online Wedden Op Snooker
vip app
https://forumserver.twoplustwo.com/members/702655/
roulette strategie geringes risiko
my blog – casino einzahlung Per Revolut
pavevalg odds På motorsport
basketball wetten über unter verlängerung – Ricky –
erfahrungen
beste online casino met live games
My webpage: Amusementshal Goes; Https://WWW.Lettercolor.Com,
wettbüro aktien
My web-site; tipico basketball wetten
esportes da sorte melhores probabilidades de apostas
virtuele mobiel mobiel wedden (Carolyn) paarden
sportwetten bonus code ohne einzahlung
Also visit my page basketball unentschieden wetten (http://ambassadorinperu.com/)
http://followmedoitbbs.com/home.php?mod=space&uid=750496
замок с кодом на входную дверь
czy kasyno online jest legalnepaysafecard zapłać później aktualne bonusy bez depozytu bonus za rejestracje bez depozytu
today’s non runners Racing non runners horses
paarden weddenschap
Feel free to visit my web page: Mobiel Wedden Tips Gratis
https://www.lasso.net/go/item/0dyNUbOdPm
wettstrategie
Also visit my web blog basketball Wetten anbieter aus bewertungskriterien?
dicas em Quem site de apostas esportivas esportivas
sportwetten online sportwetten und live-wetten für fussball tennis basketball Eishockey (http://Veggyscambodia.com/darts-und-die-medien-einfluss-auf-das-wettverhalten/)
legal
https://anotepad.com/notes/aj7hxeit
aposta goliath
Feel free to surf to my homepage … casas de apostas com bonus gratis –
https://thinkeattrain.com/ -
darmowe spiny bez depozytu za rejestracjefree spin bez depozytu kasyno online blik magnetic po polsku
polski legalny bukmacher wplaty
sms
academia das Casas De Apostas Neteller angola
Casino En Ligne Fiable Strasbourg skrill
belgique
beste gokkasten met multiplier casino online casino bitcoin
besten sportwetten apps
My blog … basketball live wetten strategie
casa de Apuestas peru chile mejores
blackjack 21+3 regel
Also visit my web site: Casino bij dendermonde, http://Www.fitorodriguez.com,
магнитный замок на дверь с чип ключом
site de apostas legalidade
my homepage: Como Funciona O Empate Anula A Aposta (Day-Offer.Net)
como jugar al casino gratis maquinas de casino gratis
sin descargar
bukmacher under 1.5
Feel free to visit my web site; pierwsza liga tabela wyniki
(Joy)
blackjack online polskasons of slots п»їaktualne bonusy bez depozytu lemon casino aplikacja
wygrane kupony bukmacher
Take a look at my blog post; freebet co to; Denisha,
betrouwbaar Online casino apple pay casino
100 euro storten
bukmacher zakłady live
Here is my web page – wynik meczu albania czechy – pekropka.com,
calculadora de Apuestas – https://galerias.fotosdehuelva.es/2026/07/15/como-las-lesiones-afectan-el-rendimiento-en-la-champions/ – bayern vs barcelona