优点和缺点的base64图像连接code [英] advantages and disadvantages base64 image encode

查看:265
本文介绍了优点和缺点的base64图像连接code的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用Base64 EN codeD映像我的工作,以优化加载时间的站点。

I am thinking of using base64 encoded images for a site I am working on to optimize the load time.

反正在我开始,我很困惑有哪些优势和这样做的缺点。

Anyway before I start I was wandering what are the advantages and disadvantages of doing this.

目前,我看不出有任何的缺点,而且我注意到的是不经常使用的一种技术,这让我徘徊,如果我没有错过什么。

At the moment I don't see any disadvantage but also I noticed is not a technique used very often and that makes me wander if I didn't miss something.

googleing的主题,所以我决定要问我在这里没有发现任何明确后。

After googleing the subject I didn't find anything clear so I decided to ask here.

所以...任何意见?

感谢您,并有一个伟大的日子。

Thank you and have a great day.

推荐答案

这只是非常微小的图像非常有用。 Base64编码的连接$ C $光盘的文件比原来的大。的优势在于不必打开另一个连接,并作出HTTP请求到服务器的图像。这样做的好处是丢失非常快,这里只有一个优势大量非常微小的个体图像。

It's only useful for very tiny images. Base64 encoded files are larger than the original. The advantage lies in not having to open another connection and make a HTTP request to the server for the image. This benefit is lost very quickly so there's only an advantage for large numbers of very tiny individual images.

这篇关于优点和缺点的base64图像连接code的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆