Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Dumb question about include files....
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

bobby131313
Senior Member

USA
1163 Posts

Posted - 03 April 2010 :  11:28:05  Show Profile  Visit bobby131313's Homepage  Reply with Quote
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" -->




Switch the order of your title tags

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 05 April 2010 :  05:24:21  Show Profile  Reply with Quote
Server load? No.

Support Snitz Forums
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 05 April 2010 :  09:10:30  Show Profile  Visit bobby131313's Homepage  Reply with Quote
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.

Switch the order of your title tags
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20611 Posts

Posted - 05 April 2010 :  12:22:28  Show Profile  Visit HuwR's Homepage  Reply with Quote
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.69 seconds. Powered By: Snitz Forums 2000 Version 3.4.07