Learn about how to change last modified date of file, we have the largest and most updated how to change last modified date of file information on alibabacloud.com
1) What is "last-modified"?When the browser requests a URL for the first time, the server-side return status is 200, the content is the resource you requested, and there is a last-modified attribute that marks the last time the file was modified at
#-*-CODING=GBK-*-import zipfiledef UnZip (Path, patht): #path for the file path that needs to be decompressed, patht for the extracted target directory f = zipfile. ZipFile (path, ' R ') print "Start extracting files ..." For file in
From http://ronxin999.blog.163.com/blog/static/4221792020119106319604/
In HTTP, both last-modified and if-modified-since are HTTP header information used to record the last modification time of the page. Note that, the last-modified is the HTTP
A detailed description of each status is as follows:1 , last-modifiedWhen the browser requests a URL for the first time, the server-side return status is 200, the content is the resource you requested, and there is a last-modified attribute tag
Recently in the optimization of CDN, browser cache In-depth research, a note, to facilitate the post-comers
Drew a Sketch:
Detailed descriptions of each status are as follows:
1 , last-modified
When the browser first requests a URL, the
Recently in the optimization of the CDN, the browser cache in-depth study, a record, convenient after the comerDraw a Sketch:A detailed description of each status is as follows:1 , last-modifiedWhen the browser requests a URL for the first time, the
Detailed descriptions of each status are as follows:1, last-modifiedWhen the browser first requests a URL, the server-side return status is 200, the content is the resource you requested, and there is a last-modified attribute tag (httpreponse
There are many kinds of caches: Server cache, third-party cache, browser cache, and so on. The browser cache is the least expensive, because the browser cache relies on the client and consumes little server-side resources.Making the browser cache
HTTP response last-modified and ETag
[Date: 2008-06-16]
Source:
[Font: Big Small]
Basic knowledge 1) What is "last-modified"?When the browser requests a URL for the first time, the server-side return status is
Caching mechanismCheck the Expires expiration time (in http1.0),
(in http1.1) check Cache-control for Max-age, higher priority
Pragma (compatible with http1.0, which has the same meaning as Cache-control in http/1.1 protocol)
Whether the cache
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.