简体   繁体   中英

What better? HTML image from url or server?

What better? HTML image from url or server?

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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