Main » TERM » S »

SSI - server-side include

Server-side include (SSI) is a type of HTML comment that directs the Web server to dynamically generate data for the Web page whenever it is requested.

SSI Format

The basic format for a server-side include is as follows:

<!--#command tag="value"…>

Where #command can be any of various commands supported by the Web server. The simplest command is #include, which inserts the contents of another file. This is especially useful for ensuring that boilerplate components, such as headers and footers, are the same on all pages throughout a Web site. To change a boilerplate element, you need only modify the include file, instead of updating every individual Web page. SSIs can also be used to execute programs and insert the results. They therefore represent a powerful tool for Web developers.

SSI Standards

There is no official standard for SSIs, so every Web server is free to support different SSIs in different manners. However, many SSI commands, such as #include and #exec, have become de facto standards

Web pages that contain SSIs often end with a .shtml extension, though this is not a requirement. The filename extension enables the Web server to differentiate those pages that need to be processed before they are sent to the browser.







LATEST ARTICLES
Facts about Cloud Computing in 2017

The following facts and statistics capture the changing landscape of cloud computing and how service providers and customers are keeping up with... Read More »

Facts about Computer Science: Education and Jobs

The following computer science facts and statistics provide a quick introduction to the changing trends in education and related careers. Read More »

Texting & Chat Abbreviations

From A3 to ZZZ this guide lists 1,500 text message and online chat abbreviations to help you translate and understand today's texting lingo. Read More »

STUDY GUIDES
The Five Generations of Computers

Learn about each of the five generations of computers and major technology developments that have led to the computing devices that we use... Read More »

Computer Architecture Study Guide

Computer architecture provides an introduction to system design basics for most computer science students. Read More »

Network Fundamentals Study Guide

Networking fundamentals teaches the building blocks of modern network design. Learn different types of networks, concepts, architecture and... Read More »