Scripting.FileSystemObject vs Server.Execute

335 views Asked by At

which one is faster? (for static html page include)

1

There are 1 answers

0
Filburt On

Probably the fastest solution for static html page include would be Server Side Includes:

foo.asp

<%@LANGUAGE="VBSCRIPT"%>
<% Option Explicit %>
<!-- #include file="baz.htm" -->

baz.htm

<html>
    <head />
    <body>
        <h1>Hello World!</h1>
    </body>
</html>