Dumb question about include files.... - Postet den (1208 Views)
Senior Member
bobby131313
Innlegg: 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
   
 Sidestørrelse 
Postet den
Development Team Member
Davio
Innlegg: 12217
12217
Server load? No.
Postet den
Senior Member
bobby131313
Innlegg: 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.
Postet den
Forum Admin
HuwR
Innlegg: 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
 
Du må legge inn en melding