Scripting.FileSystemObject vs Server.Execute

349 Views Asked by At

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

1

There are 1 best solutions below

0
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>