Dumb question about include files....

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/69267?pagenum=1
05 November 2025, 11:10

Topic


bobby131313
Dumb question about include files....
03 April 2010, 11:28


Is there any difference in server load between the following....
<!--#include file="../ad-slots/pages-top-right.asp" -->

and

<!--#include virtual="/ad-slots/pages-top-right.asp" -->

question

 

Replies ...


Davio
05 April 2010, 05:24


Server load? No.
bobby131313
05 April 2010, 09:10


Thanks Davio.
I just happened to read on a forum somewhere that absolute urls to images required more processing than relative ones. It didn't sound like the guy knew what he was taking about but it still made me wonder about this because I have thousands of virtual includes on my sites.
HuwR
05 April 2010, 12:22


urls to images don't have any connection to include directives anyway, so you asked the wrong question, and in your include example both paths are relative, an absolute path includes the full url including domain name etc, but the answer is still the same, there is no difference in performance or server load
© 2000-2021 Snitz™ Communications