Dumb question about include files.... - Posted (1207 Views)
Senior Member
bobby131313
Posts: 1163
1163
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
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Development Team Member
Davio
Posts: 12217
12217
Server load? No.
Posted
Senior Member
bobby131313
Posts: 1163
1163
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.
Posted
Forum Admin
HuwR
Posts: 20611
20611
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
 
You Must enter a message