简体   繁体   English

在Chrome中执行Ctrl + F5时,GWT托管模式出现问题:CSS不再呈现

[英]Problem with GWT hosted mode when doing Ctrl+F5 in Chrome : CSS don't render anymore

I have a weird problem on my GWT app in hosted mode. 我在托管模式下的GWT应用程序上遇到了一个奇怪的问题。 I did a "CTRL+F5" on my web page and since then, my app css didn't render anymore. 我在网页上进行了“ CTRL + F5”操作,此后,我的应用程序CSS不再呈现。 Now, I have an ugly app with nothing more than labels and no styling elements even though I have verified that all resources (css, images and so on) are present. 现在,尽管我已经验证了所有资源(css,图像等)都存在,但我有一个丑陋的应用程序,仅带有标签和样式元素。

Even weird fact, the app renders normally on Internet Explorer (never thought I would put IE and normally in the same sentence :D) but it's not working on Chrome and Firefox. 甚至很奇怪的事实,该应用程序通常都可以在Internet Explorer上呈现(从来没有想过我会把IE和通常用相同的句子:D呈现),但是它不能在Chrome和Firefox上运行。

Has anybody already experienced this in dev mode ? 有没有人在开发模式下经历过这种情况? It's getting me crazy ... please help ... 这让我发疯...请帮助...

thanks in advance 提前致谢

"Ugly" page means that your css does not load anymore. “丑陋”的页面意味着您的CSS不再加载。 IE possibly caches them so page still renders properly. IE可能会缓存它们,因此页面仍可以正确呈现。

Use developer console on Chrome or firebug on Firefox to inspect loading of resources. 使用Chrome上的开发者控制台或Firefox上的萤火虫检查资源的加载情况。

Chrome: right-click on any element -> Inspect Element -> select Network tab -> reload page Chrome:右键单击任何元素->检查元素->选择“网络”标签->重新加载页面

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM