The server has to respond to the request and figure out a response to populate the content-length response header, so you don't save any processing time.
服务器必须对请求进行响应,并构造一个响应来填充内容长度的响应头,因此并不能节省任何处理时间。
It then validates that it has proper type of JSON, and that the content-type response header is JSON.
然后验证是否有适当类型的JSON,并验证内容类型响应标头是否为JSON。
The browser has a built-in cache that stores responses for HTTP requests according to caching information provided in the header of the HTTP response.
浏览器具有内置缓存,用于根据HTTP响应的标头中提供的信息存储HTTP请求的响应。
My hope is that this article has provided you with food for thought for your current and future web based projects, and an appreciation for the under utilized ETag response header.
我希望本文已为你当下或将来基于Web的项目提供了精神食粮,并正确评价在底层利用ETag响应头的做法。
The client also reads the Last-Modified response header and sends back the date value in an If-Modified-Since header to ask the server if the resource has changed.
客户端还读取Last - Modified响应Header,并在if - Modified - Since Header中发回日期值,以向服务器询问资源是否已更改。
The client also reads the Last-Modified response header and sends back the date value in an If-Modified-Since header to ask the server if the resource has changed.
客户端还读取Last - Modified响应Header,并在if - Modified - Since Header中发回日期值,以向服务器询问资源是否已更改。
应用推荐