5.2.1.5. no-store
MUST NOT
volatile storage:
易失性存储
non-volatile storage:
非易失性存储
The "no-store" request directive indicates that a cache MUST NOT
store any part of either this request or any response to it. This
directive applies to both private and shared caches. "MUST NOT
store" in this context means that the cache MUST NOT intentionally
store the information in non-volatile storage,
前一个MUST NOT说不能存,后一个MUST NOT说不能存到non-volatile storage中;那volatile storage中能不能存?
MUST
and MUST make a
best-effort attempt to remove the information from volatile storage
as promptly as possible after forwarding it.
当request(no-store)被往服务器转发以后,cache需要尽最大努力删除和这个request(no-store)相关的数据。
收到request(no-store)后,cache可以进行reuse流程
Note that if a request containing this directive is satisfied from a
cache, the no-store request directive does not apply to the already
stored response.
rfc中没有找到有地方明确禁止“收到request(no-store)后,cache进行reuse流程”;上面这句话也在暗示这个推论。
上面这句话目前的理解是,收到的request(no-store)复用了缓存,则不用执行no-store对应的MUST NOT/MUST要求。