简体   繁体   English

有什么更好的? 来自网址或服务器的HTML图片?

[英]What better? HTML image from url or server?

What better? 有什么更好的? HTML image from url or server? 来自网址或服务器的HTML图片?

I want to know what makes my site more faster 我想知道什么使我的网站更快

<img src="url">

or 要么

<img src="image.jpg">

That depends on the speed of the server, it's data link and it's load than how you are going to refer to the image. 这取决于服务器的速度,数据链接和负载,而不是参考图像的方式。 Trying to optimize the quality of the image might give you a better edge than the reference method. 尝试优化图像质量可能会比参考方法提供更好的边缘。

到目前为止,最好的方法是将其安装在您自己的服务器上,而不是为了提高速度,但是如果托管图像的服务器掉线,则图像会消失

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM