V2EX  ›  英汉词典

If-Modified-Since

释义 Definition

If-Modified-Since:HTTP 请求头字段,用来告诉服务器“只有当资源在某个时间点之后被修改过,才返回最新内容”。如果资源自该时间以来未被修改,服务器通常会返回 304 Not Modified,从而节省带宽并加快加载。

发音 Pronunciation

/ɪf ˈmɑːdɪfaɪd sɪns/

例句 Examples

The browser sent an If-Modified-Since header to avoid downloading the same file again.
浏览器发送了 If-Modified-Since 请求头,以避免再次下载相同的文件。

If the page hasn’t changed since yesterday, the server may reply with 304 Not Modified when it receives If-Modified-Since.
如果页面从昨天起没有变化,服务器在收到 If-Modified-Since 后可能会返回 304 Not Modified。

词源 Etymology

该表达来自 HTTP 报文头的命名习惯:以 If- 开头表示“条件请求”(conditional request),Modified 表示“已修改”,Since 表示“自从某个时间点”。合起来就是“如果自某时以来被修改过(再返回内容)”。

相关词 Related Words

文学与著作 Literary Works

  • RFC 7232: Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests(规范性文档,定义与说明 If-Modified-Since 等条件请求头)
  • HTTP: The Definitive Guide(经典 HTTP 书籍,讨论缓存、条件请求与 304 响应)
  • High Performance Browser Networking(涵盖浏览器缓存与 HTTP 条件请求机制,常提及 If-Modified-Since)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   846 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 10ms · UTC 23:34 · PVG 07:34 · LAX 15:34 · JFK 18:34
♥ Do have faith in what you're doing.