强缓存看 Cache-Control,协商缓存看 ETag/Last-Modified。

我的经验:

- 带 hash 的静态资源设长缓存
- HTML 不缓存
- 接口按业务定

配错了很难调试,谨慎。