开发者

does a wrong src in the img tag overloads the server?

开发者 https://www.devze.com 2023-01-18 17:58 出处:网络
I have this on a very big number of开发者_JAVA技巧 pages: src=\"//avatar/images/...\"; this server is serving zillions of files I was wondering if it\'s wise to fix that double slash inside the img t

I have this on a very big number of开发者_JAVA技巧 pages: src="//avatar/images/...";

this server is serving zillions of files I was wondering if it's wise to fix that double slash inside the img tag.

I would do it at least for an aesthetic point of view, but my question is: "does it affects the http request in some way?"

the backend server is Lighttpd

thanks!


The double slash is not likely to cause performance issues; I have however seen webservers error out on it (i.e. giving 404s). If it's working for you, no reason to touch it, really.

However, cleaning up is always good!

0

精彩评论

暂无评论...
验证码 换一张
取 消