84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
rt 为什么会是200(from cache)
小伙看你根骨奇佳,潜力无限,来学PHP伐。
200(from cache)是不像服务器发送请求,直接读取的缓存 304 是向服务器发送请求,服务器认为本地有缓存,就读取缓存
200(from cache)是哪个资源请求? 带有Cache-Control:max-age=0 header头的又是你的哪个资源请求?
同一个资源请求,带有Cache-Control:max-age=0 header头,一般不会返回200(from cache), 返回的是304 Not Modified 或者 200 OK;
200(from cache)是不像服务器发送请求,直接读取的缓存
304 是向服务器发送请求,服务器认为本地有缓存,就读取缓存
200(from cache)是哪个资源请求?
带有Cache-Control:max-age=0 header头的又是你的哪个资源请求?
同一个资源请求,带有Cache-Control:max-age=0 header头,一般不会返回200(from cache),
返回的是304 Not Modified 或者 200 OK;