首页
沸点
课程
更多
活动
APP
插件
活动
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
登录
注册
后端
前端
Android
iOS
人工智能
开发工具
代码人生
阅读
If-Match和If-Unmodified-Since的ignore理解
If-Match和If-Unmodified-Since的ignore理解 关于“ignored”,我最开始理解的是,cache无视If-Match/If-Unmodified-Since,接着处理剩
5. Evaluation
5. Evaluation rfc 7232 5. Evaluation check/precondition/methon的处理顺序 当收到request时,origin server的处理优先级为
4.2. 412 Precondition Failed
4.2. 412 Precondition Failed rfc 7232 没有在rfc中找到当返回412时,response应该是怎么样的。下面是实践中的例子:
4.1. 304 Not Modified
4.1. 304 Not Modified 4.1. 304 Not Modified 返回304时如何携带Header 必须携带的Header+可以携带的用于指导缓存的Header 必须(MUST)
3.4. If-Unmodified-Since
3.4. If-Unmodified-Since rfc 7232 3.4. If-Unmodified-Since 用于当user agent又没有对应的entity-tag时( the user
3.3. If-Modified-Since
3.3. If-Modified-Since rfc 7232 3.3. If-Modified-Since recipient忽略If-Modified-Since的情况 请求包含了If-None-
3.2 If-None-Match
3.2 If-None-Match rfc 7232 3.2 If-None-Match If-None-Match: "A", "B",服务器返回304,cache如何决定用哪一个? If-None
3.1. If-Match
3.1. If-Match rfc 7232 3.1. If-Match If-Match被忽略的情况 caches and intermediaries应该(can)忽略If-Match,因为If-
2.2.2. Comparison
2.2.2. Comparison rfc 7232 2.2.2. Comparison 这一小节主要描述在满足一定条件以后,Last-Modified可以作为强验证器使用。 判断Last-Modif
4.4. 416 Range Not Satisfiable
4.4. 416 Range Not Satisfiable rfc 7233 4.4. 416 Range Not Satisfiable 返回416的时机 没有overlap 满足特定条件被rej
4.3. Combining Ranges
4.3. Combining Ranges rfc 7233 4.3. Combining Ranges 合并的主体 InComplete responses to GET partial respo
4.2. Content-Range
4.2. Content-Range rfc 7233 4.2. Content-Range Content-Range field 无效(invalid)的情况 说的就是当如下3种情况时Conten
3.2. If-Range
3.2. If-Range rfc 7233 3.2. If-Range If-Range只能和GET一起使用 目前只找到If-Range和Range header一起使用的定义,而Range hea
3.1. Range
3.1. Range rfc 7233 3.1. Range server May 忽略或者拒绝Range header的情况 server可以(MAY)忽略或者拒绝 Range Header 当:
2.1. Byte Ranges
2.1. Byte Ranges rfc 7233 2.1. Byte Ranges last-byte-pos修正 "he server replaces the value of last-byt
5.2.2.2. no-cache(response)
5.2.2.2. no-cache(response) rfc 7234 5.2.2.2. no-cache 不带值 request(no-cache)-response不能(MUST NOT)用来r
5.2.1.7. only-if-cached
5.2.1.7. only-if-cached rfc 7234 5.2.1.7. only-if-cached 指令含义 如果有满足rfc 7234 4.1定义的reuse条件的stored res
5.2.1.5. no-store
5.2.1.5. no-store rfc 7234 5.2.1.5. no-store MUST NOT volatile storage: 易失性存储 non-volatile storage:
5.2.1.3. min-fresh
5.2.1.3. min-fresh rfc 7234 5.2.1.3. min-fresh 解释 "min-fresh" request directive表示,client期望收到response
5.2.1.2. max-stale
5.2.1.2. max-stale rfc 7234 5.2.1.2. max-stale 这个指令用于放宽reuse条件 "max-stale"指令没有值时 表示客户端接受任意current_ag
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30