在 RFC 7234 里描述啟發(fā)式新鮮度:
If the response has a Last-Modified header field (Section 2.2 of [RFC7232]), caches are encouraged to use a heuristic expiration value that is no more than some fraction of the interval since that time. A typical setting of this fraction might be 10%.
應(yīng)該是說如果過有 Last-Modified 這個(gè)頭,那么啟發(fā)式新鮮度的時(shí)間一般取 Last-Modified 的10%,而不是有 Last-Modified 才會(huì)使用 啟發(fā)式新鮮度 來設(shè)置過期時(shí)間。
躺著吃肉都會(huì)胖_702f 評(píng)論自瀏覽器緩存策略