-
SSI (Server Side Include), commonly known as"Server-side embedding"Or called"Server-side included", that is, change the suffix of the navigation file and HTML page to: .shtml,Sina has a lot of channels that use this.,This needs server support.,But most of them do.。
The content of static pages is relatively stable, and the URL address is easier to be recognized by search engines than that of dynamic web pages, so it is generally recommended to use static web pages when conducting SEO optimization. Static pages do not need to be supported by a database, so the access speed is more dynamic than that of a static page.
-
The difference between static pages and dynamic pages Static pages: 1. The content of static pages is relatively stable, and the URL address is easier to be recognized by search engines than that of dynamic web pages, so it is generally recommended to use static web pages when conducting SEO optimization. 2. Static pages do not need the support of databases, so the access speed is compared with that of dynamic networks.
-
An HTML static web page is a web page file that an ASP page reads from the database before it loads, and then displays it.
However, a lot of ** nowadays are generating ASP web pages into static HTML web pages. One is for speed and the other is for safety.
-
The fundamental difference between HTML and ASP is that ASP can call the database, while HTML cannot, and it is the same as how it was done in the first place.
-
It is not necessary to have a static page, but static is conducive to search engine inclusion, and then the structure is optimized to make the structure clear, so that the search engine spider can crawl smoothly, and the access speed will also increase.
-
**Static can reduce the pressure on the server, and is conducive to search engine indexing, will dynamic pages to generate static pages, save CPU cycles, and improve the performance of the server Another way to improve the function is to reduce the repetitive work required to run PHP programs.
-
Not necessarily, if you have a lot of traffic, it's better to use a static one.
-
htm is the same as html. Hypertext Markup Language. The reason for this distinction is that previously the naming convention in the DOS environment only allowed a three-digit suffix.
They are all static pages.
SHTML is a dynamic hypertext markup language. He's going to go through the server. Because he has SSI technology in it. It's going to go through the server.
-
1.First of all, htm, html, and shtml are all suffixes of static web pages, which contain the scripts run by the server, which are dynamic pages, and also contain html tags, shtml and html, shtml is not html, but a server api, shtml is the html dynamically generated by the server
shtml for SSI technical files (server-side contains directives Server-side embedding) Files that contain SSI directives require special handling, so all SSI files must be given an SSI file extension. The default extension is .stm、.
shtm and .shtml
-
The difference between shtml and html is explained in one sentence: shtml is not html but a server api, and shtml is html dynamically generated by the server
While both are in hypertext format, SHTML is a type of file that is used in SSI technology. That is, the server side include--ssi server-side include directive. If the web server has SSI functionality (most (especially Unix-based) web servers such as Netscape Enterprise Server support SSI commands).
Special treatment will be given to shtml files. Scan the shtml file first to see that there are no special ssi directives now.
Yes, the SSI directive is interpreted according to the web server setting rules. After the explanation, drop the client along with the general html.
What is the relationship between HTML or HTM and SHTML or SHTM.
HTML or HTM is a static page format, which means that there is no need for the server to parse the scripts in it, or there is no server-side execution script in it, while SHTML or SHTM is based on SSI technology, when there is a server-side executable script, it is treated as a dynamic programming language, just like ASP, JSP or PHP. When shtml or shtm does not contain server-side executable scripts, it does the same thing as html or htm.
-
It can be understood as a compiled language.
-
First of all, htm, html, and shtml are all suffixes of static web pages, and all three can be said to be different extensions, and the others are all static web pages.
HTM and HTML are completely static web pages that are sent directly to the browser for reading without server compilation and interpretation, except for HTM and HTML pseudo-static requests.
SHTML and SHTM are static web pages dynamically generated by the server, and the server needs to bring SSI to process the static web pages.
Definition: HTML, HTM is a fully hypertext static web page - Hypertext Markup Language
shtml is a file used for SSI technology - Server Side Include--SSI.
What is the format of SHTML and what are the benefits over HTML? shtml, the html format is about the same, shtml can mainly use include (including html), through the server to generate static pages.
The shtml page can be embedded in another html page with include, so that a ** can be separated from the same method, and include can be used to embed in a static page. Static pages cannot!
-
SSI is the abbreviation of server side includes, which translates into Chinese to mean server-side includes. From the perspective of Shenfan technology, SSI is a command or pointer in an HTML file that can be invoked by a comment line. SSI has powerful functions, as long as you use a simple SSI command, you can achieve the entire content update, dynamically display the time and date, and execute complex functions such as shell and CGI scripts.
SSI can be the best target for cash-strapped developers, time-constrained, and overworked.
-
SHTML Lite Tutorial - What is SHTML
What is SSI used for?
The reason why we want to talk about SSI is because of the acronym shtml--server-parsed html. Contains HTML text that contains commands on the embedded server side. The server reads, analyzes, and modifies the shtml document completely before it is sent to the browser.
shtml and asp
There are some similar, shtml-named files that use SSI directives, just like ASP directives, you can write SSI directives in the shtml file when the client accesses them.
shtml files, the server will read and interpret these shtml files, and interpret the ssi instructions contained in the shtml file.
For example, you can use the SSI directive in the shtml file to refer to other HTML files (include, the file that the server sends to the client, which is already explained that the shtml will not have the SSI directive. It implements a function that HTML does not have, that is, it can realize dynamic SHTML, so to speak.
It's an evolution of HTML. Like Sina's news system, the news content is fixed, but the ads and menus on it are quoted with include.
At present, there are mainly the following uses:
li] 1. Displays the server-side environment variable< echo> [li].
li] 2. Insert the text content directly into the document< include> [li].
3. Display the information about the web document< flastmod fsize> (such as the date of the file's creation, size, etc.) [li].
4. Directly execute various programs on the server< exec> (such as CGI or other executable programs) [li].
li] 5. Set the SSI information display format< config> (such as the date of file production, size display mode) Advanced SSI can set variables to use if conditional statements. [/li]
Using SSISSI is a set of commands provided to the web server that can be embedded directly into the comments of an HTML document. Such as:
It is an SSI instruction, and its clearing function is to block the general""is copied to the current page, and when visitors come to browse the message, they will see the content displayed in it as any other HTML document.
The use of other SSI instructions is basically the same as the example just now, which shows that the use of SSI is just to insert a little **, and the use form is very simple.
Of course, if the web server doesn't support SSI, it will just treat it as a comment and skip the contents; The browser will also ignore this information.
If you do it small, put some company profiles and the like, and do it static. Cheap.
A dynamic web page corresponds to a static web page, i.e., the web page URL is not a suffix. htm、.html、. >>>More
Both martensitic and austenite are microstructures of steel during heat treatment. >>>More
The differences are as follows: 1. NADH is produced by glycolysis. >>>More
First, the subject is different.
1. LED large screen: It is a flat panel display, which is composed of small LED module panels. >>>More