Appearance
强缓存: 命中本地,不发送到服务器校验
expires & cache-control 的max-age在有效期内
expires & cache-control
协商缓存: 请求服务器
cache-control value 为以下:
no-cache: 缓存相应内容,但是在下次使用之前,需要像服务器验证是否有效,通过Etag(随响应头返回)和last-modified(随响应头返回)
no-cache
no-store: 完全不缓存
no-store