Dumb question about include files.... - نوشته شده در (1209 Views)
Senior Member
bobby131313
مطلب: 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
 پیش‌فرض مرتب‌سازی برای تاریخ DESC به معنی جدیدترین است  
 تعداد در صفحه 
نوشته شده در
Development Team Member
Davio
مطلب: 12217
12217
Server load? No.
نوشته شده در
Senior Member
bobby131313
مطلب: 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.
نوشته شده در
Forum Admin
HuwR
مطلب: 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
 
شما باید یک متن وارد کنید