php 愚蠢的错误:无法加载资源:net::ERR_CACHE_MISS
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/26494153/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Stupid error: Failed to load resource: net::ERR_CACHE_MISS
提问by Mirjalal Talishinski
I'm developing Web app in Yii framework. I need use AJAX
in my some pages. So, when I clicked the button (which I loaded them with AJAXthe Google Chrome Developer Tools
browser says me:
我正在 Yii 框架中开发 Web 应用程序。我需要AJAX
在我的一些页面中使用。所以,当我点击按钮(我用 AJAX 加载它们时,Google Chrome Developer Tools
浏览器说我:
Failed to load resource: net::ERR_CACHE_MISS
Failed to load resource: net::ERR_CACHE_MISS
How to solve this problem?
如何解决这个问题呢?
P.S: I know it's duplicate question, but I couldn't find the solution for my problem. In some posts users said use Ctrl
+Shift
+N
and try it. it will works.and/or somebody said: reload pages with Ctrl
+F5
because Google Chrome likes cache everything.. So, I read all of these topics and applied all solution tips. But there were not help. Please help me...
PS:我知道这是重复的问题,但我找不到我的问题的解决方案。在一些帖子用户表示使用Ctrl
+ Shift
+N
和尝试。它会起作用。和/或有人说:用Ctrl
+重新加载页面,F5
因为 Google Chrome 喜欢缓存所有内容。. 因此,我阅读了所有这些主题并应用了所有解决方案技巧。但没有帮助。请帮我...
And also in other browsers some pages not working properly. But only the Google Chrome Developer Tools
returns me the stupid error.
而且在其他浏览器中,某些页面无法正常工作。但只有Google Chrome Developer Tools
返回给我愚蠢的错误。
Best.
最好的事物。
采纳答案by Emanuele Greco
Google declares that this is not a failure, but some "misleading error reports". This bug will be fixed in version 40 of chrome.
谷歌声明这不是失败,而是一些“误导性错误报告”。此错误将在 chrome 40 版中修复。
You can read this:
你可以阅读这个:
回答by sgajera
It is actually a permission issue. Add these lines in your platforms/android/AndroidManifest.xml
file:
这实际上是一个权限问题。在您的platforms/android/AndroidManifest.xml
文件中添加这些行:
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
回答by iforwms
It only appeared in my Chrome browser a few days ago too. I checked a few websites I developed in the past that haven't been changed and they also show the same error. So I'd suggest it's not down to your coding, rather a bug in the latest Chrome release.
它也仅在几天前出现在我的 Chrome 浏览器中。我检查了一些我过去开发的未更改的网站,它们也显示相同的错误。所以我建议这与您的编码无关,而是最新 Chrome 版本中的错误。
回答by mokiSRB
I solved this error with clearing cache and restarting chrome. Hope they will fix it in ver 40.
我通过清除缓存并重新启动 chrome 解决了这个错误。希望他们会在第 40 版中修复它。
回答by user1357209
We get err_cache_misserror while using the bowser. Its mean there may be a problem with your browser. It due the items in the cache may be unusable or some configurations are not configured correctly. You may get the solution to clear browser data or Check browser extensions and remove extensions which you felt cause the problem or Resetting your browser or Update your browser or Disabling cache system. These are some tricks to come out this error.
我们在使用 bowser 时遇到err_cache_miss错误。这意味着您的浏览器可能有问题。由于缓存中的项目可能无法使用或某些配置未正确配置。您可以获得清除浏览器数据或检查浏览器扩展程序并删除您认为导致问题的扩展程序或重置浏览器或更新浏览器或禁用缓存系统的解决方案。这些是解决此错误的一些技巧。
回答by Viranja kaushalya
If you are using bootstrap that will be the problem. If you want to use same bootstrap file in two locations use it below the header section .(example - inside body)
如果您使用的是引导程序,那将是问题所在。如果您想在两个位置使用相同的引导程序文件,请在标题部分下方使用它。(示例 - 正文内部)
Note : "specially when you use html editors. "
注意:“特别是当您使用 html 编辑器时。”
Thank you.
谢谢你。
回答by Brandy
I was getting this error because of the new Google Universal Analytics code, particularly caused by using the Remarketing lists on Analytics.
Here's how I fixed it.
1) Log into Google Analytics
2) Click "Admin" in top menu
3) In "Property" column, click "Property Settings"
4) Make sure "Enable Display Advertiser Features" is "On"
5) Click "Save" at bottom
6) Click ".js Tracking Info" in left menu
7) Click "Tracking Code"
8) Update your website's tracking code
When you run the debugger again, hopefully it will be taken care of.
我收到此错误是因为新的 Google Universal Analytics 代码,特别是由于在 Analytics 上使用再营销列表引起的。
这是我修复它的方法。
1) 登录 Google Analytics
2) 单击顶部菜单中的“管理”
3) 在“属性”列中,单击“属性设置”
4) 确保“启用展示广告客户功能”为“开启”
5) 单击底部的“保存”
6) 单击左侧菜单中的“.js 跟踪信息”
7) 单击“跟踪代码”
8) 更新您网站的跟踪代码
当您再次运行调试器时,希望它会得到处理。
回答by Zach
Try loading the website in another web browser such as Safari. Recently had this problem and for some reason, it worked after loading in a different browser.
尝试在其他 Web 浏览器(例如 Safari)中加载网站。最近遇到了这个问题,出于某种原因,它在加载到不同的浏览器后工作。