Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Dumb question about include files....

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
bobby131313 Posted - 03 April 2010 : 11:28:05
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" -->



3   L A T E S T    R E P L I E S    (Newest First)
HuwR Posted - 05 April 2010 : 12:22:28
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
bobby131313 Posted - 05 April 2010 : 09:10:30
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.
Davio Posted - 05 April 2010 : 05:24:21
Server load? No.

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07