首页 > 代码库 > Failed to load resource: net::ERR_CACHE_MISS

Failed to load resource: net::ERR_CACHE_MISS

Failed to load resource: net::ERR_CACHE_MISS 译为开发人员工具载入缓存的时候,说找不到资源。 
原因是你先打开页面,然后打开chrome的开发人员工具。而页面本身设置了no-store 无缓存,所以后者打开的开发人员工具去不到缓存。 
如果你已经打开开发者工具的时候,然后再刷新就不会有这个错误了,同时可以看下页面的头信息: 
HTTP/1.1 200 OK 
Content-Type: text/html; charset=utf-8 
Transfer-Encoding: chunked 
Connection: keep-alive 
Expires: ri, 24 Oct 2014 08:10:33 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 
Pragma: no-cache 
Content-Encoding: gzip

Failed to load resource: net::ERR_CACHE_MISS