Mozilla 的提案「HTTP Immutable Responses」

狀態已經是 Category: Standards Track 了,RFC 8246 的「HTTP Immutable Responses」:

The immutable HTTP response Cache-Control extension allows servers to identify resources that will not be updated during their freshness lifetime. This ensures that a client never needs to revalidate a cached fresh resource to be certain it has not been modified.

Cache-Control 介紹了 immutable,像是這樣:

Cache-Control: max-age=31536000, immutable

依照 MDN 上的資料 (Cache-Control - HTTP | MDN),目前只有 EdgeFirefox 支援,不過既然成為標準了,後續其他瀏覽器應該都會支援 (吧):

This entry was posted in Browser, Computer, Murmuring, Network, Software, WWW and tagged , , , , , , , , . Bookmark the permalink.

One Response to Mozilla 的提案「HTTP Immutable Responses」

  1. s25g5d4 says:

    https://stackoverflow.com/questions/41936772/which-browsers-support-cache-control-immutable
    根據 stackoverflow Chrome 已經支援了,Safari 不清楚正式版上了沒。

Leave a Reply

Your email address will not be published. Required fields are marked *