The HTTP header field includes class 4: general-header; request-header; Response-header; Entity-header. ******************************************** general Header fields============================= General Headers are
Add expires and Cache-control headersExpires and Cache-control are actually cache control headers in HTTP, which mainly affect the client's request behavior and server-side response.Many of this article comes from the HTTP authoritative guide, and
Find out more about HTTP protocol-related content. ARP protocolIP can resolve the MAC address through the ARP protocol. -----------------------------------------------------------------------Communication ProcessHTTP protocol generates HTTP request
as a program developer, you should know the meaning of the HTTP status returned by some servers, and only make sure that the status code one by one is clear and that the various problems encountered in the work can be handled with ease. So let's
Let's get a glimpse of this bug!
Add the OutputCache setting in an. aspx file with the following code:
Copy Code code as follows:
The above setting means that the cache is cached for 5 minutes, and the cache is updated
1, ETag and expires the client-side HTTP Request header and server-side HTTP reponse Header working principle.
2, static under the Apache, Lighttpd and Nginx ETag and expires configuration
3. ETag and expires processing in non-real-time
First, the basic articleHTTP (hypertexttransferprotocol) is the abbreviation of Hypertext Transfer Protocol, it is used to transmit data of WWW mode, please refer to RFC2616 for details of HTTP protocol. The HTTP protocol uses a request/response
Browser Cache Insider and solution
In the following three different scenarios, browsers have different caching conditions:
1). The servlet does not overwrite the Getlastmodified method, there is no LastModified header field in the response message,
In IIS has a concept called the host head, we basically have mastered, there is a concept called HTTP head, some students have asked me this question, in fact, the HTTP header more involved in the software of Dongdong.
The most intuitive HTTP header
HTTP status Code and its definition parsing AJAX capture callback error reference
The status line contains the HTTP version, status code, and a brief description of the status code. In most cases, all answer headers except content-type are optional.
You do not have sufficient permission to execute. For example, this error message appears if the directory where the ASP page you are attempting to access is set to none, or if you are trying to execute a CGI script that has permission to allow
1) Request (client-to-server [request])GET (The requested way)/books/java.html (requested target Resource) http/1.1 (the protocol and version number that the request takes)Accept: */* (the type of resource the client can
IIS returns a numeric code that represents the state of the request when a user attempts to access content on a server that is running Internet information Services (IIS) through HTTP or File Transfer Protocol (FTP). The status code is recorded in
1. BackgroundREST(English: Representational State Transfer Representational State transfer) describes a schema-style network system, such as a Web application.At present, the Internet is flooded with RESTful API articles about how to design (for
Summary of HTTP protocol and common methods used by headers in PHP, and Header Summary
This example summarizes the HTTP protocol used by the Header in PHP and common methods. Share it with you for your reference. The specific method is as
I still don't understand the difference between 204 and 304.
OK
The request succeeds (followed by the answer document for the Get and post requests.) )
204 No Content
There are no new documents.
Status Code classificationHTTP status code is divided into five categories, currently we use the HTTP protocol version is 1.1, support the following status code. As the protocol progresses, more status codes are defined in the HTTP specification.Tip:
This article mainly introduces the HTTP protocol and common methods used by headers in PHP, including various error encoding types and their meanings. For more information, see
This article mainly introduces the HTTP protocol and common methods used
Chapters: 1b/SAdvantages of B/s:The client uses a unified browser (Browser), the unity of the browser brings the unity of operation, regardless of what service is used, because the browser is the same, so the operation is similar. Customer use is
Before discussing Browser Optimization, we should first analyze what happened between initiating an HTTP request from the client and receiving the response from the user? Only when you know yourself and know yourself can you be defeated. This is why
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.