谷歌应用程序引擎gwt应用程序不加载自定义域(google app engine gwt application doesnt load with custom domain)

我在谷歌应用引擎上部署了我的应用程序这里是链接

比我已经完成所有的东西来创建自定义域链接到我的应用程序的自定义域

显然,来自app的静态数据是在没有gwt模块的情况下加载的

(为简单起见,现在没有数据插入高度复制的数据存储区)

I have deployed my app on google app engine here is the link

Than I have done all the stuff to create custom domain link to my app with custom domain

Obviously the static data from app is loaded without the gwt module

(Right now no data is inserted in highly replicated Datastore for sake of simplicity)

最满意答案

这不是Gae问题,而是Gwt问题。 顺便说一句 - 在我的浏览器(Chrome 27)上,两个域都可以工作,并且Gwt客户端已加载。 在没有任何关于您的Gwt应用程序的知识的情况下,调试真的很难。

但是有一个问题: http : //hawt-project.appspot.com/hawtproject/hawtproject.nocache.js有缓存标题。 这可能会导致您的浏览器加载旧版本的应用程序。 这可能会导致您的页面看起来破碎。 它也可以解释为什么它适合我 - 而不适合你。

尝试清理浏览器缓存并重新加载页面。 如果它工作=>在appengine-web.xml中调整Gae的静态文件缓存设置(如果它是Java) - 那么你应该这样做 - 缓存nocache.js是错误的。

That's not an Gae issue but a Gwt issue. By the way - on my browser (Chrome 27) both domains work and the Gwt client is loaded. Without having any knowledge about your Gwt app it is really hard to debug.

There is one issue however: http://hawt-project.appspot.com/hawtproject/hawtproject.nocache.js has cache headers. And this might cause your browser to load an old version of your application. And this might cause your page to look broken. It would also explain why it works for me - and not for you.

Try to clean your browser cache and reload your page. If it works => Adjust Gae's static file cache settings in appengine-web.xml (If it's Java) - well you should do that anyway - caching nocache.js is just wrong.

谷歌应用程序引擎gwt应用程序不加载自定义域(google app engine gwt application doesnt load with custom domain)

我在谷歌应用引擎上部署了我的应用程序这里是链接

比我已经完成所有的东西来创建自定义域链接到我的应用程序的自定义域

显然,来自app的静态数据是在没有gwt模块的情况下加载的

(为简单起见,现在没有数据插入高度复制的数据存储区)

I have deployed my app on google app engine here is the link

Than I have done all the stuff to create custom domain link to my app with custom domain

Obviously the static data from app is loaded without the gwt module

(Right now no data is inserted in highly replicated Datastore for sake of simplicity)

最满意答案

这不是Gae问题,而是Gwt问题。 顺便说一句 - 在我的浏览器(Chrome 27)上,两个域都可以工作,并且Gwt客户端已加载。 在没有任何关于您的Gwt应用程序的知识的情况下,调试真的很难。

但是有一个问题: http : //hawt-project.appspot.com/hawtproject/hawtproject.nocache.js有缓存标题。 这可能会导致您的浏览器加载旧版本的应用程序。 这可能会导致您的页面看起来破碎。 它也可以解释为什么它适合我 - 而不适合你。

尝试清理浏览器缓存并重新加载页面。 如果它工作=>在appengine-web.xml中调整Gae的静态文件缓存设置(如果它是Java) - 那么你应该这样做 - 缓存nocache.js是错误的。

That's not an Gae issue but a Gwt issue. By the way - on my browser (Chrome 27) both domains work and the Gwt client is loaded. Without having any knowledge about your Gwt app it is really hard to debug.

There is one issue however: http://hawt-project.appspot.com/hawtproject/hawtproject.nocache.js has cache headers. And this might cause your browser to load an old version of your application. And this might cause your page to look broken. It would also explain why it works for me - and not for you.

Try to clean your browser cache and reload your page. If it works => Adjust Gae's static file cache settings in appengine-web.xml (If it's Java) - well you should do that anyway - caching nocache.js is just wrong.