开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜