网络人 > 网站运营 > 把小图片转为Base64格式可有效减少http请求

把小图片转为Base64格式可有效减少http请求

现在主流的浏览器基本都支持Base64格式的文件,比如:

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAa9JREFUeNo0kc9LFGEYx995d+adnRk3Z/2BrSG60MFM8LJdxIvdCyPPRUQdK7rVJTz0L3gQlJBATxbSuYLqoGgRSQjLQlvalLvOrrPzzvvOvL96txKe0/P58OXh+RpUKACAVKxG1mrxy4BsC6EGrEq558qkfyNnIE0NLVHx+214u8fsdyyowBHh7ZBGTdyBfHS+vF5AJagzXh/f7EOjZ90hAb6F2W6YfgUq67N9Ir6v7s8LlcFq8tzN+X7e+pW+CtO9hCUkY21y0KT1S0N3T1h96+czs9rZGHTdnOrtsCOapZTJlAM998Zb+po3P1Z2gw0Y4I8CHE+4C3ODTcIkZYB2DayNxzsFy7RrrR3IhQbR2qGvt7fGsDbu/zUebXtKmVwhJS1YNKdCgpUYWKx6mj248N+QIGdb54BwSt5FeP7MXCOOufQYR08/e6eGCY2ib49gTCulawbm6dLebAoOnXwBZ3FEGjrDQWN+fiRst2jEn1x+131mlAbLX66fiLqN8gh5BvAkR3GciAQ+nHlRdIaNf7UImb0/WP4UbO43PkipysXpyvDV2fIdE3Zr+SPAADzh6IHRO5VXAAAAAElFTkSuQmCC

是一个绿色的把小图片转为Base64格式可有效减少http请求小图标,图标虽小,但也得向服务器发送1个HTTP请求啊,一但像这样的小图片多了起来,网站流量也大了,服务器的压力会成倍增长。

// Base64 在CSS中的使用
.box{
  background-image: url("data:image/jpg;base64,/9j/4QMZR...");
}
// Base64 在HTML中的使用

Base64与CSS Sprite一样可用于解决服务器小图片请求问题,Base64转码后文件比实际的大30%,但是网站启用了GZIP,反而可以忽略增长的大小。Base64在小范围使用上完胜CSS Sprite,因为后者只适用于CSS,而Base64可以直接使用src方式引用。方便快捷。

对了,还可以参考awesome font的小图标技术。也是很牛的,后面我会用文章专门讲解使用awesome font把图标变成字体,可以无限放大缩小,改颜色神马的。。。。

最后,大家可以试试下面的代码(复制地址直接在浏览器地址栏里粘贴)。

data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAZABkAAD/2wBDAAcFBQYFBAcGBgYIBwcICxILCwoKCxYPEA0SGhYbGhkWGRgcICgiHB4mHhgZIzAkJiorLS4tGyIyNTEsNSgsLSz/2wBDAQcICAsJCxULCxUsHRkdLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCz/wAARCAGQAQQDASIAAhEBAxEB/8QAHAAAAQUBAQEAAAAAAAAAAAAABAACAwUGBwEI/8QAQBAAAQMCBAQDBgQEBgIBBQAAAQACAwQRBRIhMQYTQVEiYXEHFDKBkbEjQqHBM1Ji0RUkQ3Lh8AglUyY0RKLx/8QAGQEAAgMBAAAAAAAAAAAAAAAAAAIBAwQF/8QAJBEAAgICAgICAwEBAAAAAAAAAAECEQMhEjEEQTJRExQicWH/2gAMAwEAAhEDEQA/AKltQBuLKVsw7hXDuG4pB+HKoX8M1LfgIcsHI2UBNe3oU8OBSkwitiP8In0Q5hqIz4o3N9QjkiKCQQngoPmPG6e2e24TckFBSR2CiZM0jUp+dp6qbAcN06yZmCeCCN1JA12gThsvH9F7bRACIVNxJjcOCYVLUPN3AZWtG7nHYK4e8Njc4mwG649xXjT8Zxh2t6aBxbG3+Z3Upox5MWUqRQ1tTNiNa+qqSXyPN9ft6BCyDLqSDfbzRctmM8m9upQctxubuP6LRRnIjukvSLLxSAkkkkAJJJJAHoF1I4M5I11CiUjiTGOygCMGxTiARcH5Lxou6y91jk9FIDU4jw6pOA3XgOlkAXHD2LHDq8NkP+Xl8DwenYrqWHTiWMA/kGnmP+/ZcU2XReEcZ95o445DeWHwE9x0/b6KrIvY8H6Nm7UKMhPBuN/JeFUF4yyScAkoAMifi9PbJUZwO6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6YCOMF1Swea1GCDI2SUtN3eEFZiE3rWNG/RdDoaWGkoImOF3Btz6q/DG3ZTldKgR0EtQ7QEBFxRMo2XecxXk9aIxZtmqulrC8mxWvoyk9ZiJcCGnRVclQXXF0ySS90yJmd+oJCVsB8EfPky2Pqr+MspqXKN7Kuic2FugF1FUVLi0qVok8mqM0pKSAfJd1ykosAxpAy+qe2wt3uhmEkjyKIYw5m+ZSkj2RlxGthdTRxWA8k1pAtfungk7HqpoCzwZp5jupC0kLdNVQ4KzxPcB1WhiHdYZv8ApmyHxRPHofJENF1ExuikbcKBiQaLxx7JE6+S8JvfWykDw6pptsU4myYTrqoAjcNUPIbDoiJCAQBv1Q77amyABXH6oZ9gSiJDY6IWXZAA0ztUBM4oqa/qgpXXGuqGBE53dCyO6KV7rlCyO6qCWDT7aKsnHi1VjK5AzAE3UkA1yo36XUxGt1C/ayAFhQa7HqUPPhzLeyzXbbZc7hfysQgk/leD+q3r9iVqwdMzZuwOpkJJuhC93QIt8eYlethsNloKAARySSfDoUdFCI22I1UrBlGy9fcDZQBDI020UToy/QaKR7yNAvGlwcD0QMQihB1J1SR7T4dklFEbP//Z

 

除非注明,网络人的文章均为原创,转载请以链接形式标明本文地址:http://www.neter8.com/web/7.html

下一篇 »:PHP生成静态HTML效率更高的方式«上一篇:一个比较好用的JS原生封装Ajax.js,使用方法与jQuery一样

《把小图片转为Base64格式可有效减少http请求》的网友评论(1)

  1. #1图片转换后可有效的减少HTTP请求网站打开速度虽然没有太明显的感觉但在高并发下效果就比较明显了
    于2个月前(2017-08-08)发表。 (2)
感谢打赏!