Forum Moderators: coopster & phranque

Message Too Old, No Replies

ASP vs SSI

Which is faster for including repeating elements?

         

themoff

6:11 pm on Aug 6, 2001 (gmt 0)

10+ Year Member



I've been working on my site, and have always used SSI for including a standard navigation bar on all my pages. However, I realised that it could be done with ASP also. So, is there any speed difference between using

<!--#include virtual="navigation.htmlf"-->

and

<%=FnNavigation%>

?

FnSideBar is an ASP function in a file that is automatically included in all of my ASP pages anyway.

Cheers, Robin

sugarkane

8:20 pm on Aug 6, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If the included file is just plain html, then I'd say the SSI method would be quicker. As SSI is a lot simpler than ASP it will involve a smaller processing overhead.

If you're using ASP anyway, then it'd make sense to use the second method - I'm sure the difference in speed wouldn't really have an impact unless it's a very busy site - and it'd keep things consistent.