Research on cache in Web Development (I)Research on cache in Web Development (2)Research on cache in Web Development (III)
As shown in figure 4.16, there are four options for setting the function item "Check newer versions of existing webpages". You
Http protocol CacheHttp protocol Cache Control200 OK for the first request 304 not modified for the second request to change the statusExplanation: There are some cache servers on the network, and the browser also has the cache function. When we
Android http code response code status code, androidcode
Some common status codes are:
200-the server returns the webpage successfully
404-the requested webpage does not exist
503-server timeout
The complete list of HTTP status codes is
Volley's main function is to deal with the network and then obtain the corresponding data from the network. Although there is a cache thread (CacheDispatcher), if there is no corresponding record in the cache, it will still be thrown into the
The Host header is a bound domain name, Host header is not required if no domain name exists
The so-called host header is called from the function of binding domain names in IIS. Generally, port 80 of an IP address on a Web server can only
The status line contains the HTTP Version and statusCodeAnd brief description corresponding to the status code. In most cases, all Response Headers except Content-Type are optional. However, content-type is required. It describes the MIME type of
It mainly involves three attributes in the header.
Lastmodified: Sets the last modification time. The browser sends a "If-modified-Sinc" header next time. If the content is not updated after this time, the server directly returns a 304 not modified
HTTP status Code
editing
The HTTP status code is a 3-bit numeric code that represents the HTTP response status of the Web server. It is defined by the RFC 2616 specification and is extended by RFC 2518, RFC 2817, RFC 2295, RFC 2774,
As a web development it is necessary to familiarize yourself with the request headers and the response headers of common HTTP. For example, the request header Content-type specified the content of the request, if the type is
Some common HTTP status codes are:200– server successfully returned to Web page404– The requested page does not exist503– Service Not availableCommon HTTP status Code Daquan1XX (Temporary response)A status code that represents a temporary response
Original finishing is not easy, reproduced please indicate the source: using SSH to develop rest Web Services support HTTP ETag Header tutorial detailedCode: http://www.zuidaima.com/share/1777391667989504.htmIntroductionThe great impact of the
As an Internet developer, the meaning of the HTTP status returned by some servers must be well-understood, and only these status code one by one can be figured out, and all the problems encountered in the work are handled with ease. Well, let's look
1XX Information Class status code100-continue the initial request has been accepted, the customer should continue to send the remainder of the request. (HTTP 1.1 new)101-switching Protocols Server translates the client's request to another protocol (
Description
1, the server caches the compressed files, again access reduces the time to compress, reduce the CPU occupancy rate.
2, by setting the client file cache time, reduce the number of requests again, can be reduced by more than 85%.
3,
HTTP messages can carry a content entity associated with the request or response. Entities can is found in some requests and in some responses, as they are. Requests the entities are referred to as entity enclosing. The HTTP specification defines
Http status code is the basic knowledge of web development, the interview will often appear in this aspect of the exam. 200 Welcome back, master (normal; the request has been completed.) 301 families moved (moved-the requested data has a new
Fiddler can help you record, debug Microsoft Internet Explorer interactions with Web applications, find bottlenecks in the performance of Web programs, and look at the content of sending cookies to a Web server and the size of the content you
Fiddler can help you record, debug Microsoft Internet Explorer interactions with Web applications, find bottlenecks in the performance of Web programs, and look at the content of sending cookies to a Web server and the size of the content you
The technology set up above is the server side of a person in the effort, and sometimes need to cooperate with the client.
A link request process can be roughly divided into several phases
If the client sends the same request, and the result is
Whether it's doing the front end or the back end, you'll have to deal with HTTP headers, and it's definitely helpful for web development. This article allows me to study the side of the HTTP headers.
What is HTTP Headers
HTTP is written by
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.