HTTP static content, a simple example of interaction

2010-11-27  来源:本站原创  分类:Web  人气:94 

Written from the original understanding, HTTP session is a set of main sequence of request and response. request is mainly initiated by the client's browser requests the server to return response results. Therefore, we see the final response html page is rendered in the local page.

Our access to a static page of a case:

1. User enters a URL:

At this point the client to the server side to send the equivalent of a GET method request.

2. Server-side http get requests received after this will find the corresponding htm file

3. Server-side generates a http response, speaking as a htm file all the contents of the middle part of the response back to the client.

4. To the client browser after receiving the http response and then parse the results into a htm page to show form.

The detailed process sequence diagram with a similar description as follows:
HTTP static content, a simple example of interaction

  • HTTP static content, a simple example of interaction 2010-11-27

    Written from the original understanding, HTTP session is a set of main sequence of request and response. request is mainly initiated by the client's browser requests the server to return response results. Therefore, we see the final response html pag

  • High Performance Website Guide - Notes - 3. Use CDN publish static content 2010-06-15

    Content Delivery Network CDN is the abbreviation. Issued by the Ministry of static content to multiple servers, you can choose to close the user to access the server to respond to shorten the response time. For example, our site's static content dist

  • Tomcat 7.0 documents in the war to store static content using the alias 2010-09-30

    static web application resource files, such as like CSS, Javascript, and video files, image files and so on. They often regard the package on the war file, which will increase the size of the WAR file and cause a lot of repeated loading static resour

  • jquery simple 2 level interaction 2010-12-28

    Review a bit JQUERY, made a 2-level implementation of linkage JQUERY main contact a bit JQUERY the ajax functionality, code background data before writing data structures and death of my EXTJS2 level interaction using JSON as data transmission, only

  • ExtJS the simple example of interaction with the code-behind - landing 2008-10-26

    First ExtJS program, spent an entire night, only then tune-pass procedure has proved too much, or their own vegetables, before the three-tier code originally written there are still many mistakes, kingcat correct to say that programmers should be res

  • Talk about static websites (1) 2010-06-30

    Written in the front Static pressure is the solution to reduce Web site, improve site access speed of the common program, Dan's We2.0 times in Jiangtiaojiaohu, right static Tichu The higher demand static not only Neng Jing, Huan Yao dynamic, followin

  • Sinatra in the cache is so simple 2010-02-10

    Ryan Tomayko → Page cache sinatra and the rails of a difference is sinatra default multi-threaded mode. (However, when used in non-thread-safe libraries may also need to open the mutex option, with the single-threaded manner) Engage in multi-threaded

  • Depth analysis: CDN Content Delivery Network Principles 2010-11-15

    1. Introduction The rapid development of Internet, to the people's work and life has brought great convenience, quality of service on the Internet and access speed have become increasingly demanding, although the bandwidth, increasing the number of u

  • The Simple Factory Pattern Factory 2010-03-23

    The role of the factory pattern is that the process will create an object encapsulated into a class to complete, reducing the degree of coupling on the client. Factory Pattern There are several forms to achieve today, from the simplest to start an im

  • ASP Column - ASP generate static files 2010-07-16

    For Web developers, generating static files is no stranger to the concept. For Web developers, how to avoid non-stop client access when querying the database? Now there are two methods commonly used one is to use caching technology to check out the r

  • java static block non-static block 2010-08-22

    Transfer from: Static block static block / / C4: / / Author: ZhangHongbin / / This program is protected by copyright laws. / / Static block. public class StaticBlock1 ( static ( S

  • [Reprinted] WordPress code in the simple mechanism 2010-09-19 E4% B8% AD% E7% 9A% 84% E7% AE% 80% E7% A0% 81% E6% 9C% BA% E5% 88% B6 / Simple code API (Application Programming Interface) is a WordPress> = 2.5 for new features. Simple code API is a simple set of functions

  • Apache compile the static and dynamic compilation Detailed 2010-12-16

    Static: Use. / Configure compile time, if you do not specify a module as a dynamic, that is not used: enable-mods-shared = module or enable-module = shared this two in one, then all of the default module is static. So what is static? When in fact all

  • A simple javascript tab tab 2011-01-13

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""> <html xmlns="" lang="UTF-8"> <head> <meta ht

  • Arch-03-15-Nginx + tomcat configuration load balancing static and dynamic separation 2011-08-12

    #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream;

  • WEB development of the first day of 2009-07-16

    Knowledge about this point A Web development process The basic B JavaScript syntax C JavaScript method and the use of the definition of D JavaScript event-driven and event handling E JavaScript in bringing the subject of I point to the analysis of kn

  • Yahoo! Team practice sharing: Website performance optimization of the 34 golden rules (change) 2010-03-12

    Yahoo! The Exceptional Performance team to bring best practices to improve the Web performance. They do this to conduct a series of experiments, development of a variety of tools, written numerous articles and blog and participate in a variety of con

  • The role of JNDI in J2EE 2010-06-02 J2EE is a master piece daunting, because it contains the technology and acronyms are constantly growing. Java Naming and Directory Interface (Java Naming and Directory Interface, JNDI) from the beginn

  • OSCache improve J2EE application performance system operation 2010-06-24

    Cache is used to improve the speed, improve system operating performance of the technology. Especially in Web applications, by caching the output of the page, can be significantly improved system operating performance. Introduction of this article gi

  • Google search engine optimization - website design for search engines 2010-07-31

    Abstract: Site in the search marketing major shortcomings: Knowledge of the industry: do not know search engines to attract new users of the importance of search engine ranking services in the pursuit of "fool-related", buy some in fact do not h