firefox浏览器中安装了httpfox组件用来调试ajax请求,抓取ajax请求和返回的数包,近段时间郁闷了,总是报
Error loading content (NS_ERROR_DOCUMENT_NOT_CACHED)
无法显示返回的结果,按照下面的方面完美解决了问题,排除问题就爽多了
please check the following firefox preferences: (this can be done with the
"about:config" url)
1) browser.cache.disk.enable
make sure this is set to "true" (default: true)
2) browser.cache.memory.enable
make sure this is set to "true" (default: true)
3) network.http.use-cache
make sure this is set to "true" (default: true)
4) browser.cache.disk_cache_ssl
setting this to "true" should help getting the content of https requests. it is
deactivated by default for security reasons. (default: false)
我的是第三项值是false,在用httpfox调试ajax请求时总是返回:
Error loading content (NS_ERROR_DOCUMENT_NOT_CACHED)
把第三项的network.http.use-cache 设置为true就可以查看ajax的返回结果了