Caching in HTTP
HTTP is typically used for distributed information systems, where performance can be improved by the use of response caches.
如下状况,浏览器不会对请求进行缓存html
没有配置 cache-control 或 last-modified、expiressegmentfault
只配置了 cache-control,且值为 public 或 privatepromise
cache-control浏览器
将采用 Heuristic Expiration缓存
Since origin servers do not always provide explicit expiration times, HTTP caches typically assign heuristic expiration times, employing algorithms that use other header values (such as the Last-Modified time) to estimate a plausible expiration time. The HTTP/1.1 specification does not provide specific algorithms, but does impose worst-case constraints on their results. Since heuristic expiration times might compromise semantic transparency, they ought to used cautiously, and we encourage origin servers to provide explicit expiration times as much as possible.
网上有不少介绍ide
这是IE的私有属性spa