使用 PHP 开发时,浏览器不会显示来自 Netbeans 的新 html 代码/链接
使用 Netbeans 6.9.1 进行开发
使用 Firefox/Safari
使用 MAMP 服务器
当通过 Netbeans 开发 PHP 应用程序时,我发现当我测试运行我的代码时,我的大部分更改都会显示在浏览器中。即使我可以参考该代码行并注意所显示的不是我的代码,但我所做的链接或 css 更改之类的小事情会丢失或不会在浏览器测试中保留。我正在使用 Firebug,所以我可以肯定地知道链接或样式没有被带入测试运行中。
如何解决问题以确保我可以准确地测试我的开发?
Developing with Netbeans 6.9.1
Using Firefox/Safari
Using MAMP Server
When developing a PHP application through Netbeans I find that most of my changes will show up in the browser when I Test Run my code. Little things such as links I do or css changes are lost or are not carried over in the browser test even though I can refer back to the line of code and note that what has been displayed is not my code. I am using Firebug so I can definitely know that links or styles are not being carried over into the test run.
How do I fix the problem to make sure I can accurately test my developments?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
正如 Thilo 提到的,这听起来像是浏览器缓存问题。
我使用一个名为 Web Devoloper 的 Firefox 插件,它有在下拉菜单中简单地禁用/启用浏览器缓存的选项。它还具有许多其他您也会觉得有用的功能。
As mentioned by Thilo, this sounds like a browser caching issue.
I use a Firefox plugin called Web Devoloper, this has an option to simply disable/enable your browsers cache in a drop down menu. It also has many other features that you would find useful too.