1.1 Features of static Web pages:
(1) static pages each page has a fixed URL, and the URL is usually in. htm,. html,. shtml, and so on as the suffix, and the address does not contain a question mark "?"
(2) Static Web pages are real files stored on the server, each of which is a separate file
(3) The content of static Web pages is relatively stable, easy to be indexed by search engines (advantages)
(4) Static Web pages do not support the database, in the production and maintenance of the site a large amount of work (disadvantage)
(5) The interaction of static Web pages is poor, there is a large limitation in function (disadvantage)
(6) The Web program in the user browser-side resolution, the program resolution is more efficient, because the server side does not parse, so can accept more concurrent access. Advantages
Summary: 1) Client resolution 2) format html,jpg main 3) easily indexed by search engines
1.2 Dynamic Web pages
Characteristics:
(1) Dynamic Web pages generally based on database technology, can achieve more functions, can greatly reduce the maintenance of the site's workload;
(2) is not a Web page file that exists on the server independently, and the server returns a full page only when the user requests it
(3) "?" in the Dynamic Web page. "There are some problems in the collection of search engines
(4) The program on the server side of the resolution, will consume a lot of CPU and memory resources, less efficient than static web pages
Summary: Generally based on database technology, the program in the server-side resolution, the extension is Asp,aspx,php,jsp,do,cgi,perl
1.3 Pseudo-static web pages
Because the search engine cannot read the dynamic webpage content with the parameter correctly, many large-scale websites use the technology of dynamic webpage to generate static webpage, eliminate the parameter in the dynamic webpage, it is the search engine collects more content, achieves the optimized effect.
Another way, is the Dynamic Web page pseudo-static technology, through some technology (such as rewrite rules), the URL of the page rewrite, but do not need to generate any Web page, just change the address path, in order to facilitate the search engine indexed effect. Pseudo-static nature is still a dynamic Web page, so there is a bottleneck in performance, efficiency without any improvement, no dynamic transfer static web page efficiency.
1.4 Web Architecture Optimization
In the actual high-concurrency Web site architecture, we can consider the data that the user requested to be parsed and stored in a static file on disk or in memory to reduce the pressure on the dynamic server, thereby improving the user experience.
1.5 Ip-pv-uv
IP: Refers to the number of independent IP, the same IP address in the 00:00-24:00 is computed once
PV: That is, Page view, PageView or page click, each refresh is calculated once. The specific measure is to send a request to the Web server from the browser, the Web server Street this request, the request will be the corresponding page sent to the browser, resulting in a PV, so long as the request is sent to the browser, whether the page is completely open, Then it should be counted as 1 PV
UV: A unique Visitor, a computer client visiting a website for a visitor. 00:00-24:00 the same client is evaluated once. UV Measurement methods: 1. Web server resolution; 2.Cookie resolution
1.6 Basic process of website access
Note: If there is a cache of IP address resolution on this computer to access the website, proceed to the 5th step directly, that is, direct access to the destination website.
Linux Course notes HTTP Basics