200(from cache)是哪个资源请求?
带有Cache-Control:max-age=0 header头的又是你的哪个资源请求?

同一个资源请求,带有Cache-Control:max-age=0 header头,一般不会返回200(from cache),
返回的是304 Not Modified 或者 200 OK;

Sam.com answered 9 years, 7 months ago

200(from cache)是不像服务器发送请求,直接读取的缓存
304 是向服务器发送请求,服务器认为本地有缓存,就读取缓存

青铜直升机1 answered 9 years, 7 months ago

Your Answer