public marks

PUBLIC MARKS from decembre with tags base64 & date:image

02 August 2013 10:15

CSS - Best Practice ? - Images in CSS or HTML as data/base64 - Stack Overflow

by 1 other
t's a good practice usually only for very small CSS images that are going to be used together (like CSS sprites) when IE compatibility doesn't matter, and saving the request is more important than cacheability. It has a number of notable downsides: Doesn't work at all in IE6 and 7. Works for resources only up to 32k in size in IE8. It saves a request, but bloats the HTML page instead! And makes images uncacheable. They get loaded every time the containing page or style sheet get loaded. Base64 encoding bloats image sizes by 33%. If served in a gzipped resource, data: images are almost certainly going to be a terrible strain on the server's resources! Images are traditionally very CPU intensive to compress, with very little reduction in size.

decembre's TAGS related to tag base64

animation +   astuce +   best +   button +   code +   conversion +   convert +   converter +   convertir +   css +   cursor +   data +   datauri +   date:image +   decoder +   dev +   extension +   favicon +   filetr +   firefox +   flexbox +   flickr +   FlickrSurf+ +   format +   generateur +   generator +   google map +   gradient +   greasemonkey +   html +   icon +   icone +   image +   javascript +   jQuery +   Korben +   minifier +   nth-child +   online +   ounline-tool +   outil +   png +   practice +   privacy +   Prive +   programme +   ratio +   shadow +   sprite +   tester +   tips +   tool +   uri +   utilitaire +   web2.0 +   webdesign +   webdev +   webfont +   worpress +