Scripting.FileSystemObject vs Server.Execute
which one is faster? (for static html pa开发者_StackOverflow社区ge include)
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>
精彩评论