The web server evaluates only these web pages to find SSI directives, that are configured as SSI documents. In order to minimize the server's computing resources required to process the SSI documents, you should set your server's configuration to identify SSI documents by a dedicated file extension. If you would choose the file extension ".shtml", then the configuration for some web servers like the Apache web server would look like:
AddType text/x-server-parsed-html .shtml
Your web server would only parse the files with the file extension ".shtml" to execute the SSI directives.
Copyright © 2001-2003 by Rainer Hillebrand and Thomas Wierlemann